Skip to content

Commit 44bbcc2

Browse files
committed
platform/x86: thinkpad_acpi: Use false to set acpi_send_ev to false
acpi_send_ev is a bool and everywhere else true/false is used to set it. Replace the one instance using 0 with false. Suggested-by: Ilpo Järvinen <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent fd1e334 commit 44bbcc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/thinkpad_acpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3912,7 +3912,7 @@ static void hotkey_notify(struct ibm_struct *ibm, u32 event)
39123912
if (tp_features.hotkey_wlsw &&
39133913
hkey == TP_HKEY_EV_RFKILL_CHANGED) {
39143914
tpacpi_send_radiosw_update();
3915-
send_acpi_ev = 0;
3915+
send_acpi_ev = false;
39163916
known_ev = true;
39173917
}
39183918
break;

0 commit comments

Comments
 (0)