ACPI: thinkpad-acpi: export EV_SW SW_RADIO events
commitb9f1fd621c1672333fb8a13a598f4f36133693af
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 1 Jul 2007 13:56:14 +0000 (1 10:56 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 7 Jul 2007 12:43:05 +0000 (7 09:43 -0300)
treedae07deb397e6808a369c18bb9239ed139ac125d
parentb756c49d7459bb9bdc93df13016d70f971dfd671
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