summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/3ds_debugboard.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-24 12:43:25 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-03-29 14:47:55 +0200
commiteb2d7188f9bf68523248c45f4986313011389f5f (patch)
tree201cd734ca44c49c3bc3a8b24a6344a7a47d7f70 /arch/arm/plat-mxc/3ds_debugboard.c
parentce4ed256b8c2e67f6743cdb9a5ac1904ff9d2f0d (diff)
arm: mxc: Use generic_handle_irq()
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/3ds_debugboard.c')
-rw-r--r--arch/arm/plat-mxc/3ds_debugboard.c7
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 c856fa39760..8a2fb7046c9 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);