thinkpad-acpi: simplify module autoloading
commit7ef13d78c990f2c09b748e697809d4458a289331
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:22:00 +0000 (13 09:22 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:22:00 +0000 (13 09:22 -0300)
treee9abecfbad21df6238cfbbaba35a81d28eaa382f
parent1955bac236df9c5a26519ce2c5bea2da05368987
thinkpad-acpi: simplify module autoloading

Simplify the module autoloading a great deal, by keying to the HID for
the HKEY interface.

Only _really_ ancient IBM ThinkPad models like the 240, 240x and 570
lack the HKEY interface, and they're getting their own trimmed-down
driver one of these days.

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