]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqchip/renesas-irqc: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 9 Jul 2025 18:45:42 +0000 (20:45 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 18 Jul 2025 14:46:09 +0000 (16:46 +0200)
commit2aad477b5b734f52825f7c31780222a5a17c06d3
treea958912c7b59bc282b2511c4f5074ee89431894d
parentbc398dc4f3677ca381d5b64f8e55005131e68650
irqchip/renesas-irqc: Convert to DEFINE_SIMPLE_DEV_PM_OPS()

Convert the Renesas IRQC driver from SIMPLE_DEV_PM_OPS() to
DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr().  This allows to drop the
__maybe_unused annotations from its suspend callback, and reduces kernel
size in case CONFIG_PM or CONFIG_PM_SLEEP is disabled.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/5a14f9932da20ec46cde27f314414474072755ed.1752086718.git.geert+renesas@glider.be
drivers/irqchip/irq-renesas-irqc.c