Re: [PATCH v3 2/2] ACPI: TAD: Improve runtime PM using guard macros

Jonathan Cameron
2025-10-22T10:14:31Z

On Tue, 21 Oct 2025 19:35:54 +0200
"Rafael J. Wysocki" <rafael@kernel.org> wrote:

> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> Use guard pm_runtime_active_try to simplify runtime PM cleanup and
> implement runtime resume error handling in multiple places.
>
> Also use guard pm_runtime_noresume to simplify acpi_tad_remove().
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>