Re: [PATCH] memory: pl353: Convert to DEFINE_SIMPLE_DEV_PM_OPS()

From: Miquel Raynal

Date: Tue Aug 25 2026 - 04:13:58 EST


Hi Triet,

On 21/08/2026 at 14:44:17 +07, Triet Hoang <triet.hoang.dev@xxxxxxxxx> wrote:

> Convert the deprecated SIMPLE_DEV_PM_OPS
> to DEFINE_SIMPLE_DEV_PM_OPS
> and pm_sleep_ptr().
>
> This lets us drop the __maybe_unused annotations
> from its suspend and resume callbacks,
> also reduces kernel size in case CONFIG_PM or
> CONFIG_PM_SLEEP is disabled.

Here is the occasion for sending a v2 with your two patches: wrapping at
50 chars is abusive :)

Other than that, I guess the diff is fine.

Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>