]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: button: Adjust event notification routines
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Dec 2025 13:55:09 +0000 (14:55 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 26 Dec 2025 14:08:57 +0000 (15:08 +0100)
commit93dc5db6d47aaa3b4b458ddfddfa3369c24e22f4
tree13852892483a880c6448fc83e4d40f8805432ebb
parentddfebb7537cb422eca26ebdc3fe3426b60582c25
ACPI: button: Adjust event notification routines

Adjust the event notification routines in the ACPI button driver to
take a struct acpi_button pointer as an argument istead of a struct
acpi_device one where applicable, which allows the use of
acpi_driver_data() to be limited and will facilitate subsequent
changes.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2260995.Icojqenx9y@rafael.j.wysocki
drivers/acpi/button.c