irqchip/armada-370-xp: Use consistent types when iterating interrupts
authorMarek Behún <kabel@kernel.org>
Thu, 11 Jul 2024 16:08:59 +0000 (18:08 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 30 Jul 2024 11:35:48 +0000 (13:35 +0200)
commita5d32b7475fffe2506fa374b1d6b4a74fa13020c
tree6313f18cc7ca1b2a3acf79319f2f3f2a00e1599f
parent66fc31034f96cbdef7687b1c55d600367e70287e
irqchip/armada-370-xp: Use consistent types when iterating interrupts

When iterating, use either the irq_hw_number_t type or the unsigned int
type for the iterator variable, depending on whether the variable
represents HW IRQ number or whether it is added to a IRQ number.

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240711160907.31012-3-kabel@kernel.org
drivers/irqchip/irq-armada-370-xp.c