[PATCH 09/10] irqchip/armada-370-xp: Refactor mpic_handle_msi_irq() code
Andrew Lunn
andrew at lunn.ch
Thu Jul 11 07:29:07 PDT 2024
On Thu, Jul 11, 2024 at 01:57:47PM +0200, Marek Behún wrote:
> Refactor the mpic_handle_msi_irq() function to make it simpler:
> - drop the function arguments, they are not needed
> - rename the variable holding the doorbell cause register to "cause"
> - rename the iterating variable to "i"
> - use for_each_set_bit() (requires retyping "cause" to unsigned long)
>
> Signed-off-by: Marek Behún <kabel at kernel.org>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the linux-arm-kernel
mailing list