[PATCH v2 RESEND] mfd: Convert to DEFINE_SIMPLE_DEV_PM_OPS()

Lee Jones lee at kernel.org
Tue Sep 22 04:36:11 PDT 2026


On Fri, 11 Sep 2026, Triet Hoang wrote:

> Convert the deprecated SIMPLE_DEV_PM_OPS() to DEFINE_SIMPLE_DEV_PM_OPS()
> and pm_sleep_ptr().
> 
> This allows us to drop the __maybe_unused annotations from PM callbacks.
> This is a straightforward cleanup with no functional change intended.
> 
> Signed-off-by: Triet Hoang <triet.hoang.dev at gmail.com>
> ---
> Changes in v2:
> - Change commit message prefix from "drivers/mfd: " to "mfd: ".
> - Wrap to 75 ish chars for commit messages.
> 
> Link to v1: https://lore.kernel.org/all/20260821092508.324787-1-triet.hoang.dev@gmail.com/
> Link to v2: https://lore.kernel.org/all/20260829050228.42638-1-triet.hoang.dev@gmail.com/
> ---
>  drivers/mfd/iqs62x.c           | 8 ++++----
>  drivers/mfd/max77843.c         | 8 ++++----
>  drivers/mfd/mt6360-core.c      | 8 ++++----
>  drivers/mfd/rk8xx-i2c.c        | 4 ++--
>  drivers/mfd/rn5t618.c          | 8 ++++----
>  drivers/mfd/ti_am335x_tscadc.c | 8 ++++----
>  drivers/mfd/tps6586x.c         | 8 ++++----
>  drivers/mfd/twl-core.c         | 8 ++++----
>  8 files changed, 30 insertions(+), 30 deletions(-)

Already applied.

-- 
Lee Jones



More information about the linux-arm-kernel mailing list