irqchip/armada-370-xp: Refactor handling IPI interrupts
authorMarek Behún <kabel@kernel.org>
Thu, 11 Jul 2024 11:57:48 +0000 (13:57 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 30 Jul 2024 11:35:47 +0000 (13:35 +0200)
commitbaf01c726b7f99b72f2abfa54e249d766cbd59a5
treef49f0547121387ccd48a7720b427077b3a52f25b
parent63697bc7199ee2bacc8324b59951046a7b3ea991
irqchip/armada-370-xp: Refactor handling IPI interrupts

Refactor the handling of IPI interrupts
- put into own function mpic_handle_ipi_irq(), similar to
  mpic_handle_msi_irq()
- rename the variable holding the doorbell cause register to "cause"
- retype and rename the variable holding the IPI HW IRQ number to
  "irq_hw_number_t i"

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/all/20240711115748.30268-11-kabel@kernel.org
drivers/irqchip/irq-armada-370-xp.c