thinkpad-acpi: simplify module autoloading
commit6be9b148afa26808fb4a41ebe2ca347be10f2649
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 18 Apr 2009 13:33:07 +0000 (18 10:33 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 18 Apr 2009 13:33:07 +0000 (18 10:33 -0300)
tree41268a7ce4428eb09f42fdec589643b8e19fabe8
parent6509252d034eae07dcee408672080e6c6a20f8ce
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