Files
linux/drivers
Rafael J. Wysocki 06bc0064ad ACPI: button: Change return type of two functions to void
The return value of acpi_lid_notify_state() is always 0, so change
its return type to void.

Moreover, the return value of the only caller of that function,
acpi_lid_update_state(), is never used, so change its return type
to void either.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3429748.44csPzL39Z@rafael.j.wysocki
2026-06-01 19:17:49 +02:00
..
2026-05-22 11:52:34 +02:00