diff options
author | Adam Lee <adam.lee@canonical.com> | 2013-06-08 16:51:15 +0800 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2013-09-05 08:51:13 -0400 |
commit | edf2d7780da5d96a168da7e31b36fb11620106d3 (patch) | |
tree | f96a474335640bc8a71bf4d74ddbdd36bbe994cd /lib | |
parent | cb3e4330e697dffaf3d9cefebc9c7e7d39c89f2e (diff) | |
download | op-kernel-dev-edf2d7780da5d96a168da7e31b36fb11620106d3.zip op-kernel-dev-edf2d7780da5d96a168da7e31b36fb11620106d3.tar.gz |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions