Input: rename SW_RADIO to SW_RFKILL_ALL (v2)
commit45ffc426193df1a3c8462f4d3075896f04485f73
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 11 Nov 2008 01:46:13 +0000 (10 23:46 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 11 Nov 2008 01:46:13 +0000 (10 23:46 -0200)
tree111753538b6d17a3bb6b2f4d3efd35c866e52eae
parentbbb35f7850fb77a40e5c930dcbdfa564f3f34ba3
Input: rename SW_RADIO to SW_RFKILL_ALL (v2)

The SW_RADIO code for EV_SW events has a name that is not descriptive
enough of its intended function, and could induce someone to think
KEY_RADIO is its EV_KEY counterpart, which is false.

Rename it to SW_RFKILL_ALL, and document what this event is for.  Keep
the old name around, to avoid userspace ABI breaks.

The SW_RFKILL_ALL event is meant to be used by rfkill master switches.  It
is not bound to a particular radio switch type, and usually applies to all
types.  It is semantically tied to master rfkill switches that enable or
disable every radio in a system.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Ivo van Doorn <IvDoorn@gmail.com>
Documentation/laptops/thinkpad-acpi.txt
drivers/misc/thinkpad_acpi.c
include/linux/input.h