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

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1409047421-27649-12-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-s3c24xx.c

index 78a6acc..c8d373f 100644 (file)
@@ -339,7 +339,6 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc,
 {
        int pnd;
        int offset;
-       int irq;
 
        pnd = __raw_readl(intc->reg_intpnd);
        if (!pnd)
@@ -365,8 +364,7 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc,
        if (!(pnd & (1 << offset)))
                offset =  __ffs(pnd);
 
-       irq = irq_find_mapping(intc->domain, intc_offset + offset);
-       handle_IRQ(irq, regs);
+       handle_domain_irq(intc->domain, intc_offset + offset, regs);
        return true;
 }