aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/gpio.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-02-08 20:34:27 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-02-24 10:06:57 +0100
commit3244c3e7797d235250cd01d4a1d3f60b3b2f6261 (patch)
tree6e16f9a2d113a75f0af95f35c6771fb235861dfe /arch/arm/plat-mxc/gpio.c
parent3d40f7fef45c0173e98dcdad6a9d642127331c66 (diff)
downloadkernel_samsung_smdk4412-3244c3e7797d235250cd01d4a1d3f60b3b2f6261.tar.gz
kernel_samsung_smdk4412-3244c3e7797d235250cd01d4a1d3f60b3b2f6261.tar.bz2
kernel_samsung_smdk4412-3244c3e7797d235250cd01d4a1d3f60b3b2f6261.zip
arm/imx: use generic_handle_irq instead of open-coding it
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/gpio.c')
-rw-r--r--arch/arm/plat-mxc/gpio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/gpio.c b/arch/arm/plat-mxc/gpio.c
index 3cba1dd9d85..bee100b7e93 100644
--- a/arch/arm/plat-mxc/gpio.c
+++ b/arch/arm/plat-mxc/gpio.c
@@ -171,8 +171,7 @@ static void mxc_gpio_irq_handler(struct mxc_gpio_port *port, u32 irq_stat)
if (port->both_edges & (1 << (gpio & 31)))
mxc_flip_edge(port, gpio);
- irq_desc[gpio_irq_no].handle_irq(gpio_irq_no,
- &irq_desc[gpio_irq_no]);
+ generic_handle_irq(gpio_irq_no);
}
}