irqchip/irq-brcmstb-l2: Replace brcmstb_l2_mask_and_ack() by generic function
authorDr. David Alan Gilbert <linux@treblig.org>
Tue, 24 Dec 2024 00:17:27 +0000 (00:17 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 15 Jan 2025 08:47:46 +0000 (09:47 +0100)
commitdd1f17a9faf5359d76644236cde4cc1720f1184d
treeae691fd6ec39b28bd96c153165ef5e33cd7ee445
parent877c76dbb98b164f58d328c246ad33ec2db1030f
irqchip/irq-brcmstb-l2: Replace brcmstb_l2_mask_and_ack() by generic function

Replace brcmstb_l2_mask_and_ack() by the generic
irq_gc_mask_disable_and_ack_set().

brcmstb_l2_mask_and_ack() was added in commit 49aa6ef0b439
("irqchip/brcmstb-l2: Remove some processing from the handler") in
September 2017 with a comment saying it was actually generic and someone
should add it to the generic code.

commit 20608924cc2e ("genirq: generic chip: Add
irq_gc_mask_disable_and_ack_set()") did that a few weeks later, however no
one went back and took the brcmstb variant out.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/all/20241224001727.149337-1-linux@treblig.org
drivers/irqchip/irq-brcmstb-l2.c