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>
Showing
- arch/arm/mach-imx/mach-mx27_3ds.c 1 addition, 2 deletionsarch/arm/mach-imx/mach-mx27_3ds.c
- arch/arm/mach-imx/mach-mx31_3ds.c 1 addition, 2 deletionsarch/arm/mach-imx/mach-mx31_3ds.c
- arch/arm/mach-imx/mach-mx35_3ds.c 1 addition, 3 deletionsarch/arm/mach-imx/mach-mx35_3ds.c
- arch/arm/mach-imx/mach-mx51_3ds.c 1 addition, 2 deletionsarch/arm/mach-imx/mach-mx51_3ds.c
- arch/arm/plat-mxc/3ds_debugboard.c 4 additions, 4 deletionsarch/arm/plat-mxc/3ds_debugboard.c
- arch/arm/plat-mxc/include/mach/3ds_debugboard.h 1 addition, 1 deletionarch/arm/plat-mxc/include/mach/3ds_debugboard.h
Please register or sign in to comment