]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thermal/drivers/rcar: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 14 Nov 2025 10:50:35 +0000 (11:50 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 20 Nov 2025 14:32:14 +0000 (15:32 +0100)
commit186b5c2726647742bc597c076500c5d83539d9dc
treec4ca1e196b6eae4e134e040e0b53781aaa8e780d
parentb1c4c05bb0aebbfab10e79c0720c576dfc31409b
thermal/drivers/rcar: Convert to DEFINE_SIMPLE_DEV_PM_OPS()

Convert the Renesas R-Car thermal driver from SIMPLE_DEV_PM_OPS() to
DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr().  This lets us drop the
check for CONFIG_PM_SLEEP, and reduces kernel size in case CONFIG_PM or
CONFIG_PM_SLEEP is disabled, while increasing build coverage.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://patch.msgid.link/ee03ec71d10fd589e7458fa1b0ada3d3c19dbb54.1763117351.git.geert+renesas@glider.be
drivers/thermal/renesas/rcar_thermal.c