[patch 0/7] genirq/generic_chip: Convert locking to guards

Thomas Gleixner
2025-03-13T14:31:16Z

The following series converts the generic chip locking to lock guards,
which reduces code size and improves readability.

The conversion was largely done with Coccinelle.

The series applies on Linus tree and is available from git:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git irq/generic-chip

Thanks,

tglx
---
arch/arm/plat-orion/gpio.c | 6 +---
drivers/gpio/gpio-mvebu.c | 15 +++-------
drivers/irqchip/irq-al-fic.c | 18 +++---------
drivers/irqchip/irq-atmel-aic.c | 19 ++++---------
drivers/irqchip/irq-atmel-aic5.c | 28 +++++--------------
drivers/irqchip/irq-bcm7120-l2.c | 22 ++++++---------
drivers/irqchip/irq-brcmstb-l2.c | 8 +----
drivers/irqchip/irq-csky-apb-intc.c | 3 --
drivers/irqchip/irq-dw-apb-ictl.c | 3 --
drivers/irqchip/irq-ingenic-tcu.c | 9 ++----
drivers/irqchip/irq-lan966x-oic.c | 18 ++++--------
drivers/irqchip/irq-loongson-liointc.c | 9 +-----
drivers/irqchip/irq-mscc-ocelot.c | 3 --
drivers/irqchip/irq-stm32-exti.c | 21 ++++----------
drivers/irqchip/irq-sunxi-nmi.c | 9 +-----
drivers/irqchip/irq-tb10x.c | 13 ++-------
drivers/soc/dove/pmu.c | 3 --
include/linux/irq.h | 25 -----------------
kernel/irq/generic-chip.c | 47 +++++++++++----------------------
19 files changed, 80 insertions(+), 199 deletions(-)