ACPI: thinkpad-acpi: debug facility to emulate the rf switches
commit7fa6ee3d6fb17c25d95f8d637db857cb77ffbbee
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:21:45 +0000 (13 09:21 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:21:45 +0000 (13 09:21 -0300)
tree62b6f3180b30b9744333aceaf9a70e8715ae3a09
parent753b2af48d3b46f1c11b34a27fd31a84b71c687d
ACPI: thinkpad-acpi: debug facility to emulate the rf switches

This code is required to keep the thinkpad-acpi maintainer sane, and
it is disabled by default.

Add a debug facility to simulate an rfkill hardware rocker switch, a
bluetooth rfkill soft-switch, a WWAN rfkill soft-switch on thinkpads.

The simulated switches obviously do not kill any radios in hardware or
firmware (unlike the real one).  They also don't issue deprecated proc
events.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/platform/x86/Kconfig
drivers/platform/x86/thinkpad_acpi.c