ACPI: thinkpad-acpi: debug facility to emulate the rf switches
commitf4b97dd50a5e223c59536bf3a8d39f4040ffaa0d
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 3 May 2009 01:21:11 +0000 (2 22:21 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 3 May 2009 01:21:11 +0000 (2 22:21 -0300)
tree37ce6c0e70a3811fea33d20698593316fc1badcc
parent950fe0a8a2a287caa4dd389f4d164bf7b865a2b0
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