ACPI: button: Use different notify handlers for lid and buttons
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 4 Jun 2023 15:20:27 +0000 (17:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Jun 2023 17:48:08 +0000 (19:48 +0200)
commite4e62d5fd8ecb0ea4174afda654432927d248a8a
tree579f8c8f19dc042d09b8d3f2572c37b417d5110b
parent0d51157dfaac05ea66616d8a250dce04bef49a4f
ACPI: button: Use different notify handlers for lid and buttons

Since the lid handling in acpi_button_notify() is special, introduce
acpi_lid_notify() specifically for handling lid notifications.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/button.c