thinkpad-acpi: enhance led support
commit7a1fcddb52f701aab8c76c2b2b9f56979e81a461
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 6 Jun 2009 15:49:56 +0000 (6 12:49 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 6 Jun 2009 15:49:56 +0000 (6 12:49 -0300)
tree076f552b8910d559ebc795ad3e53b987956a614f
parent628c0f65e50dfefd3b86edd1cf22e3214e1e92d7
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