thinkpad-acpi: silence hotkey enable warning for module parameter
commit406e988bef742aa74cdc1f5fafc812ecebf7c02b
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 14 Apr 2009 02:44:10 +0000 (14 02:44 +0000)
committerLen Brown <len.brown@intel.com>
Sat, 18 Apr 2009 05:19:53 +0000 (18 01:19 -0400)
treea8e9c78ba557980f29eb791d5dc4b964dd256249
parent0882e8dd3aad33eca41696d463bb896e6c8817eb
thinkpad-acpi: silence hotkey enable warning for module parameter

Avoid the WARN() when the procfs handler for hotkey enable is used by
a module parameter.  Instead, urge the user to stop doing that.

Reported-by: Niel Lambrechts <niel.lambrechts@gmail.com>
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