ACPI: thinkpad-acpi: debug facility to emulate the rf switches
commite7fea42ce4f1fc292f0079389d603df8239b6bf2
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 19 Oct 2008 21:03:01 +0000 (19 19:03 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 19 Oct 2008 21:03:01 +0000 (19 19:03 -0200)
treea31c9468e564b93f360e58d4924cec45d66e35e8
parent3e80003f2e9fd6baff0cb501a54773badfb327a9
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