mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
thinkpad-acpi: SW_RADIO to SW_RFKILL_ALL rename
Rename SW_RADIO to SW_RFKILL_ALL in thinkpad-acpi code and docs, following
5adad01339 "Input: rename SW_RADIO to
SW_RFKILL_ALL".
Signed-off-by: Henrique de Moraes Holschuh <[email protected]>
Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
dcb84f335b
commit
197a2cd907
2 changed files with 3 additions and 3 deletions
|
|
@ -1293,7 +1293,7 @@ static void tpacpi_input_send_radiosw(void)
|
|||
mutex_lock(&tpacpi_inputdev_send_mutex);
|
||||
|
||||
input_report_switch(tpacpi_inputdev,
|
||||
SW_RADIO, !!wlsw);
|
||||
SW_RFKILL_ALL, !!wlsw);
|
||||
input_sync(tpacpi_inputdev);
|
||||
|
||||
mutex_unlock(&tpacpi_inputdev_send_mutex);
|
||||
|
|
@ -2199,7 +2199,7 @@ static int __init hotkey_init(struct ibm_init_struct *iibm)
|
|||
|
||||
if (tp_features.hotkey_wlsw) {
|
||||
set_bit(EV_SW, tpacpi_inputdev->evbit);
|
||||
set_bit(SW_RADIO, tpacpi_inputdev->swbit);
|
||||
set_bit(SW_RFKILL_ALL, tpacpi_inputdev->swbit);
|
||||
}
|
||||
if (tp_features.hotkey_tablet) {
|
||||
set_bit(EV_SW, tpacpi_inputdev->evbit);
|
||||
|
|
|
|||
Loading…
Reference in a new issue