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