commit | edf2d7780da5d96a168da7e31b36fb11620106d3 | [log] [tgz] |
---|---|---|
author | Adam Lee <adam.lee@canonical.com> | Sat Jun 08 16:51:15 2013 +0800 |
committer | Matthew Garrett <matthew.garrett@nebula.com> | Thu Sep 05 08:51:13 2013 -0400 |
tree | f96a474335640bc8a71bf4d74ddbdd36bbe994cd | |
parent | cb3e4330e697dffaf3d9cefebc9c7e7d39c89f2e [diff] |
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>