thinkpad-acpi: remove HKEY disable functionality
commit493fe4d969f7b766276e29995d31703407d5e643
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 19 Mar 2009 02:35:25 +0000 (18 23:35 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 19 Mar 2009 02:35:25 +0000 (18 23:35 -0300)
tree015586313a67a9d3ac466d9f22d3b9a9b29c1239
parent29982137d8a59e9c493f787c676797b67aca0908
thinkpad-acpi: remove HKEY disable functionality

The HKEY disable functionality basically cripples the entire event
model of the ThinkPad firmware and of the thinkpad-acpi driver.
Remove this functionality from the driver.  HKEY must be enabled
at all times while thinkpad-acpi is loaded, and disabled otherwise.

For sysfs, according to the sysfs ABI and the thinkpad-acpi sysfs
rules of engagement, we just remove the attributes.

For procfs, we call WARN() for now.  The leftover cruft on procfs will
be removed in a few months if the warning doesn't trigger.

I don't expect any fallout from this, there really isn't any reason
to mess with hotkey_enable or with the enable/disable commands to
/proc/acpi/ibm/hotkey, and this has been true for _years_.

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