diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-24 12:43:25 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 14:47:55 +0200 |
commit | eb2d7188f9bf68523248c45f4986313011389f5f (patch) | |
tree | 201cd734ca44c49c3bc3a8b24a6344a7a47d7f70 | |
parent | arm: vt8500: Use proper irq accessors (diff) | |
download | linux-eb2d7188f9bf68523248c45f4986313011389f5f.tar.xz linux-eb2d7188f9bf68523248c45f4986313011389f5f.zip |
arm: mxc: Use generic_handle_irq()
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/arm/plat-mxc/3ds_debugboard.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/plat-mxc/3ds_debugboard.c b/arch/arm/plat-mxc/3ds_debugboard.c index c856fa397606..8a2fb7046c94 100644 --- a/arch/arm/plat-mxc/3ds_debugboard.c +++ b/arch/arm/plat-mxc/3ds_debugboard.c @@ -100,14 +100,9 @@ static void mxc_expio_irq_handler(u32 irq, struct irq_desc *desc) expio_irq = MXC_BOARD_IRQ_START; for (; int_valid != 0; int_valid >>= 1, expio_irq++) { - struct irq_desc *d; if ((int_valid & 1) == 0) continue; - d = irq_desc + expio_irq; - if (unlikely(!(d->handle_irq))) - pr_err("\nEXPIO irq: %d unhandled\n", expio_irq); - else - d->handle_irq(expio_irq, d); + generic_handle_irq(expio_irq); } desc->irq_data.chip->irq_ack(&desc->irq_data); |