diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-06-01 19:58:13 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-06-01 20:17:49 +0300 |
| commit | c0e0b84d9e6fd74f9390aa4014dd265947f1c0d7 (patch) | |
| tree | 4e6639c4882f48826232fb9fd113d18df067e645 /include/linux/stackprotector.h | |
| parent | 21d822d603ab2a84211651aa39b65e6118add51b (diff) | |
| download | linux-c0e0b84d9e6fd74f9390aa4014dd265947f1c0d7.tar.xz | |
ACPI: button: Use bool for representing boolean values
Change the data type of the last_state field in struct acpi_button and
the data type of the acpi_lid_notify_state() second argument to bool
because they both are used for storing boolean values.
Update the callers of acpi_lid_notify_state() accordingly and
while at it, remove the unnecessary (void) cast from the
acpi_lid_update_state() call in acpi_lid_initialize_state() for
consistency.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2274778.irdbgypaU6@rafael.j.wysocki
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
