]> git.ipfire.org Git - thirdparty/linux.git/commit
irqchip/renesas-intc-irqpin: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 9 Jul 2025 18:45:01 +0000 (20:45 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 18 Jul 2025 14:46:09 +0000 (16:46 +0200)
commitbc398dc4f3677ca381d5b64f8e55005131e68650
tree49a8f233f0584e79e2e9360de63f991841ba492c
parentea92b6046d352740c15f35e703c1b13a47dd99b0
irqchip/renesas-intc-irqpin: Convert to DEFINE_SIMPLE_DEV_PM_OPS()

Convert the Renesas INTC External IRQ Pin 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 callbacks, 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/865e5274cc516d8c345048330a46e753e2bda677.1752086656.git.geert+renesas@glider.be
drivers/irqchip/irq-renesas-intc-irqpin.c