thinkpad_acpi: return -NODEV while operating uninitialized LEDs
authorAdam Lee <adam.lee@canonical.com>
Sat, 8 Jun 2013 08:51:15 +0000 (16:51 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 5 Sep 2013 12:51:13 +0000 (08:51 -0400)
commitedf2d7780da5d96a168da7e31b36fb11620106d3
treef96a474335640bc8a71bf4d74ddbdd36bbe994cd
parentcb3e4330e697dffaf3d9cefebc9c7e7d39c89f2e
thinkpad_acpi: return -NODEV while operating uninitialized LEDs

Not all 0-15 LEDs are available for all models, sometimes it's even not
safe. This patch return -NODEV while operating uninitialized LEDs.

Signed-off-by: Adam Lee <adam.lee@canonical.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/thinkpad_acpi.c
This page took 0.028142 seconds and 5 git commands to generate.