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

Miquel Raynal <[email protected]>
Newsgroups org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi Triet,

On 21/08/2026 at 14:44:17 +07, Triet Hoang <[email protected]> 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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.