Re: [PATCH v1] ACPI: bus: Clean up devm_acpi_install_notify_handler()
From: Andy Shevchenko
Date: Thu Jun 04 2026 - 03:45:17 EST
On Wed, Jun 03, 2026 at 08:26:24PM +0200, Rafael J. Wysocki wrote:
> 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.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko