ARM: imx: pass gpio than irq number into mxc_expio_init
authorShawn Guo <shawn.guo@linaro.org>
Wed, 13 Jun 2012 07:58:08 +0000 (15:58 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 1 Jul 2012 13:58:08 +0000 (21:58 +0800)
commited4a7fb01a467f5d264fe12f17eb981f21c7bbcd
tree5c7e553d820e844391df0c23c4238d6f046bb5e4
parent1595f16c5e537cb33e118e7ae18dff139f22bdb1
ARM: imx: pass gpio than irq number into mxc_expio_init

Change mxc_expio_init interface a little bit to have gpio than irq
number passed in.  With the change, gpio_to_irq can be called inside
mxc_expio_init to get irq number, so that MXC_IRQ_TO_GPIO can be
removed.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
arch/arm/mach-imx/mach-mx27_3ds.c
arch/arm/mach-imx/mach-mx31_3ds.c
arch/arm/mach-imx/mach-mx35_3ds.c
arch/arm/mach-imx/mach-mx51_3ds.c
arch/arm/plat-mxc/3ds_debugboard.c
arch/arm/plat-mxc/include/mach/3ds_debugboard.h