]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: rs9: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 21 Jan 2026 11:03:11 +0000 (12:03 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 3 Feb 2026 00:35:56 +0000 (16:35 -0800)
commit37eb3349a34f98fc22dd6f6be0b28c24cfa66aa6
treeffaddb10ed77a0ff40aa913bf2c1fd936018aa20
parent5ec820fc28d0b8a0f3890d476b1976f20e8343cc
clk: rs9: Convert to DEFINE_SIMPLE_DEV_PM_OPS()

Convert the Renesas 9-series PCIe clock generator driver from
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, and reduces kernel size in case CONFIG_PM or
CONFIG_PM_SLEEP is disabled.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-renesas-pcie.c