]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/renesas-rzg2l: Replace raw_spin_{lock,unlock} with guard() in rzg2l_irq_set_t...
authorBiju Das <biju.das.jz@bp.renesas.com>
Sat, 28 Mar 2026 10:33:19 +0000 (10:33 +0000)
committerThomas Gleixner <tglx@kernel.org>
Sat, 28 Mar 2026 13:14:51 +0000 (14:14 +0100)
commit9fd2170d70178faa0427adaa9d2dfdbfa231d1b7
treec6afa841789610d92e53e65a9e3862881ba359f1
parent42972b5464295450ce55f457645917aba4d54ead
irqchip/renesas-rzg2l: Replace raw_spin_{lock,unlock} with guard() in rzg2l_irq_set_type()

Simplify the locking logic in rzg2l_irq_set_type() by using guard(),
eliminating the need for an explicit unlock call.

[ tglx: Remove the pointless cleanup.h include. The spinlock guards come
   from spinlock.h ]

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260328103324.134131-3-biju.das.jz@bp.renesas.com
drivers/irqchip/irq-renesas-rzg2l.c