[PATCH] memory: pl353: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Miquel Raynal
miquel.raynal at bootlin.com
Tue Aug 25 01:13:17 PDT 2026
Hi Triet,
On 21/08/2026 at 14:44:17 +07, Triet Hoang <triet.hoang.dev at gmail.com> 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 at bootlin.com>
More information about the linux-arm-kernel
mailing list