ACPI: thinkpad-acpi: export EV_SW SW_RADIO events
commitaeae5f135000b768ecca72c69c4628b755e8936f
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 1 Jul 2007 16:56:14 +0000 (1 13:56 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 28 Sep 2007 01:25:20 +0000 (27 22:25 -0300)
tree3cd15653409efeff7c3b5f9f85e5512f9e5c4a42
parentbcecd6d8e40f0f4dc4df0ceadbc036fafd5694bc
ACPI: thinkpad-acpi: export EV_SW SW_RADIO events

The expected user case for the radio slider switch on a ThinkPad includes
interfacing to applications, so that the user gets an offer to find and
associate with a wireless network when the switch is changed from disabled
to enabled (ThinkVantage suite).

Export the information about the switch state, and switch change events as
an EV_SW SW_RADIO event over the input layer.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Ivo van Doorn <ivdoorn@gmail.com>
Cc: Richard Hughes <hughsient@gmail.com>
drivers/misc/thinkpad_acpi.c