ACPI: thinkpad-acpi: debug facility to emulate the rf switches
commit6637a6c489a4f51f1ae1f159bbc349fd72fb931e
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 24 Mar 2009 06:53:20 +0000 (24 03:53 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 24 Mar 2009 06:53:20 +0000 (24 03:53 -0300)
tree12486db97fb02b71fdcaee84e03ad42c112ce2ca
parentf0eba3e38f12e14b5b0cd283670d21d56ba73c12
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