Re: [PATCH v1 0/3] PM: runtime: Auto-cleanup macros for pm_runtime_resume_and_get()

From: Takashi Iwai

Date: Sat Sep 20 2025 - 02:37:58 EST


On Fri, 19 Sep 2025 18:34:40 +0200,
Rafael J. Wysocki wrote:
>
> Hi All,
>
> This series adds two auto-cleanup macros for runtime PM usage counter
> incrementations carried out by pm_runtime_resume_and_get() ([1/3]),
> converts the only user of the previously introduced DEFINE_FREE()
> macro for pm_runtime_put() to using one of the new macros ([2/3]),
> and drops the DEFINE_FREE() mentioned above ([3/3]).
>
> The new macros should be somewhat more straightforward to use than
> the existing _FREE and they enforce error handling.

For the series:

Reviewed-by: Takashi Iwai <tiwai@xxxxxxx>


Thanks!

Takashi