Loading
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>