summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-06-03 20:26:24 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-06-08 14:05:39 +0200
commit0c3c4c6b2a9a936b2d2eea310725a0e3b9ecf3f2 (patch)
tree3b51385b40ef082ea392e8d013ea52a031ffb575 /scripts
parent9eb51a868ed05783b407c4c8d8fc9046bad6a6ac (diff)
ACPI: bus: Clean up devm_acpi_install_notify_handler()
Add a pointer to the struct acpi_device used for installing the ACPI notify handler to struct acpi_notify_handler_devres so it need not be retrieved from the owner device via ACPI_COMPANION() in devm_acpi_notify_handler_release(). While at it, drop the function name from one of the messages printed by devm_acpi_install_notify_handler() for consistency and fix up white space in its kerneldoc comment. No intentional functional impact. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/2841496.mvXUDI8C0e@rafael.j.wysocki
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions