thinkpad-acpi: silence hotkey enable warning for module parameter
commit9d736350432187e54d4a1457407491b7a4473f99
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 3 May 2009 01:21:32 +0000 (2 22:21 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 3 May 2009 01:21:32 +0000 (2 22:21 -0300)
treefbd0c9d3519e504bc40a23cbcd4b5307b291682c
parent460486436a0f942d76e10f48d4978722b630358e
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>
drivers/platform/x86/thinkpad_acpi.c