diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2014-08-26 06:03:26 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-09-03 09:10:38 -0400 |
commit | cf86bfdd68997b584f4a8f1da9ffd2fae852a5a9 (patch) | |
tree | 5c44d5c52ff47c10aa106b51e22a511934ef99bb /drivers/irqchip/irq-s3c24xx.c | |
parent | f4bc9288b4a29ead48425dd7d1bf4b825a8aff58 (diff) |
irqchip: s3c24xx: Convert to handle_domain_irq
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>
Diffstat (limited to 'drivers/irqchip/irq-s3c24xx.c')
-rw-r--r-- | drivers/irqchip/irq-s3c24xx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c index 78a6accd205f..c8d373fcd823 100644 --- a/drivers/irqchip/irq-s3c24xx.c +++ b/drivers/irqchip/irq-s3c24xx.c | |||
@@ -339,7 +339,6 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc, | |||
339 | { | 339 | { |
340 | int pnd; | 340 | int pnd; |
341 | int offset; | 341 | int offset; |
342 | int irq; | ||
343 | 342 | ||
344 | pnd = __raw_readl(intc->reg_intpnd); | 343 | pnd = __raw_readl(intc->reg_intpnd); |
345 | if (!pnd) | 344 | if (!pnd) |
@@ -365,8 +364,7 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc, | |||
365 | if (!(pnd & (1 << offset))) | 364 | if (!(pnd & (1 << offset))) |
366 | offset = __ffs(pnd); | 365 | offset = __ffs(pnd); |
367 | 366 | ||
368 | irq = irq_find_mapping(intc->domain, intc_offset + offset); | 367 | handle_domain_irq(intc->domain, intc_offset + offset, regs); |
369 | handle_IRQ(irq, regs); | ||
370 | return true; | 368 | return true; |
371 | } | 369 | } |
372 | 370 | ||