Re: [PATCH v4 0/3] PM: runtime: Auto-cleanup macros for runtime PM
From: Jonathan Cameron
Date: Mon Sep 29 2025 - 07:15:32 EST
On Fri, 26 Sep 2025 17:40:29 +0200
"Rafael J. Wysocki" <rafael@xxxxxxxxxx> wrote:
> Hi All,
>
> This supersedes
>
> https://lore.kernel.org/linux-pm/12763087.O9o76ZdvQC@rafael.j.wysocki/
>
> which was an update of
>
> https://lore.kernel.org/linux-pm/6204724.lOV4Wx5bFT@rafael.j.wysocki/
>
> that superseded both
>
> https://lore.kernel.org/linux-pm/5049058.31r3eYUQgx@rafael.j.wysocki/
>
> and
>
> https://lore.kernel.org/linux-pm/20250919163147.4743-1-tiwai@xxxxxxx/
>
> It follows the Jonathan's suggestion to use ACQUIRE()/ACQUIRE_ERR()
> instead af raw CLASS() to make the code somewhat cleaner.
>
> Thanks!
Looks excellent to me. I've already been pointing a few people at this
in driver reviews, so I expect to see a lot of adoption in IIO (and elsewhere).
That RPM_TRANSPARENT handling is particularly nice.
With the tweaks you've already called out.
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>
Given timing, if this ends up as a next cycle thing please could we have
an immutable branch? If it is going to make the merge window then no need.
Thanks,
Jonathan