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

Takashi Iwai
2025-09-20T06:37:58Z

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@suse.de>

Thanks!

Takashi