ACPI: thinkpad-acpi: debug facility to emulate the rf switches
commit0516ad1a43e37bba845d71eb40eff65f4c88194b
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 11 Nov 2008 22:27:56 +0000 (11 20:27 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 11 Nov 2008 22:27:56 +0000 (11 20:27 -0200)
treec51b6625a74b459cd2d336b78b642e2e12bba6a1
parentf3663ac2d3db45be109ac041dcc1248ef687bb12
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/misc/Kconfig
drivers/misc/thinkpad_acpi.c