ACPI: thinkpad-acpi: export EV_SW SW_RADIO events
commit5c29d58f471099401513e2e567f6c28001bb0f13
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 19 Jul 2007 02:45:38 +0000 (18 23:45 -0300)
committerLen Brown <len.brown@intel.com>
Sun, 22 Jul 2007 03:46:31 +0000 (21 23:46 -0400)
treec914d46ce92a87ba88dde864ff739635b698bb08
parente295e8508c1dd56e06c73e78a2f67f2eb563e74f
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>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c