thinkpad-acpi: simplify module autoloading
commit50801a5df45c8daa7801703c7761d32fd1ca8206
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 5 Jul 2009 00:35:20 +0000 (4 21:35 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 5 Jul 2009 00:35:20 +0000 (4 21:35 -0300)
tree1923054e50bc73f8dfd674b3ca2c78e7a421b0be
parent6814f84cf991c9c99fc92ac9bc9dc650d4a7af7d
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