thinkpad-acpi: simplify module autoloading
commit922fe097b1e8f2f2f23dbed61cfe6e0316fecff1
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 14 Apr 2009 02:44:13 +0000 (14 02:44 +0000)
committerLen Brown <len.brown@intel.com>
Sat, 18 Apr 2009 05:19:54 +0000 (18 01:19 -0400)
treec976b28ed526f222f20cd4f20ff8d3a3f2fc6741
parentf68f53a217b827580647d23fdc34eecdcb3739c6
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>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/thinkpad_acpi.c