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)
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>

No differences found