ARM: imx: eliminate macro IMX_GPIO_TO_IRQ()
authorShawn Guo <shawn.guo@linaro.org>
Fri, 2 Dec 2011 07:31:11 +0000 (15:31 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 1 Jul 2012 13:50:09 +0000 (21:50 +0800)
commit84715dd6c19e058557ab173d327ea65eac0ccb02
tree16aabd33b4ca5a677e7fc34fb4adb6f3d60fecdb
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
ARM: imx: eliminate macro IMX_GPIO_TO_IRQ()

This patch changes all the static gpio irq number assigning with
IMX_GPIO_TO_IRQ() to run-time assigning with gpio_to_irq call, and
in turn eliminates the macro IMX_GPIO_TO_IRQ().

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mach-cpuimx35.c
arch/arm/mach-imx/mach-cpuimx51sd.c
arch/arm/mach-imx/mach-mx27_3ds.c
arch/arm/mach-imx/mach-mx35_3ds.c
arch/arm/mach-imx/mach-mx53_ard.c
arch/arm/mach-imx/mach-vpr200.c
arch/arm/mach-imx/mx51_efika.c
arch/arm/plat-mxc/include/mach/hardware.h