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 <ilpo.jarvinen@linux.intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20240429093446.130322-1-hdegoede@redhat.com
1 parent fd1e334 commit 44bbcc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)