thinkpad-acpi: enhance led support
commit69c4dcd99e2757a3504eb5024dcd714e91e00109
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 5 Jul 2009 00:35:23 +0000 (4 21:35 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 5 Jul 2009 00:35:23 +0000 (4 21:35 -0300)
tree610f71bc5dffb7bf8dd3c66b53b0e72232d905d8
parent9bae4e6b1b367b1129c4dde92674a29dfe563595
thinkpad-acpi: enhance led support

Add support for extra LEDs on recent ThinkPads, and avoid registering
with the led class the LEDs which are not available for a given
ThinkPad model.

All non-restricted LEDs are always available through the procfs
interface, as the firmware doesn't care if an attempt is made to
access an invalid LED.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Documentation/laptops/thinkpad-acpi.txt
drivers/platform/x86/thinkpad_acpi.c