irqchip: armada-370-xp: Add helper for the MSI IRQ handling
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 10 Feb 2014 20:00:01 +0000 (17:00 -0300)
committerJason Cooper <jason@lakedaemon.net>
Sat, 22 Feb 2014 06:12:13 +0000 (06:12 +0000)
commit9b8cf779f93bc48c0f12ef71e5bc90fd92322656
tree8ccda9f877c6b7459bbad63109adcdef25a18e9b
parent3efca1d15656fe7e3f57c1f5f21e596967355200
irqchip: armada-370-xp: Add helper for the MSI IRQ handling

Introduce a helper function to handle the MSI interrupts. This makes
the code more readable. In addition, this will allow to introduce a
chained IRQ handler mechanism, which is needed in situations where the
MPIC is used as a slave to another interrupt controller.

Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-armada-370-xp.c