irqchip: atmel-aic5: Convert to handle_domain_irq
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 26 Aug 2014 10:03:35 +0000 (11:03 +0100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 3 Sep 2014 13:10:52 +0000 (13:10 +0000)
Use the new handle_domain_irq method to handle interrupts.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Link: https://lkml.kernel.org/r/1409047421-27649-21-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-atmel-aic5.c

index edb2270815246cf8aece1406fdab20ec40de2b53..04fe2c1b517840089d0022024cf71f261a37f1fb 100644 (file)
@@ -78,12 +78,10 @@ aic5_handle(struct pt_regs *regs)
        irqnr = irq_reg_readl(gc->reg_base + AT91_AIC5_IVR);
        irqstat = irq_reg_readl(gc->reg_base + AT91_AIC5_ISR);
 
-       irqnr = irq_find_mapping(aic5_domain, irqnr);
-
        if (!irqstat)
                irq_reg_writel(0, gc->reg_base + AT91_AIC5_EOICR);
        else
-               handle_IRQ(irqnr, regs);
+               handle_domain_irq(aic5_domain, irqnr, regs);
 }
 
 static void aic5_mask(struct irq_data *d)