ARM: imx: eliminate macro IOMUX_TO_IRQ()
authorShawn Guo <shawn.guo@linaro.org>
Fri, 2 Dec 2011 12:00:33 +0000 (20:00 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 1 Jul 2012 13:57:06 +0000 (21:57 +0800)
commited175343b4b53d686e30b1e37fb94e142f56fa2f
treec7d8c37edafa9d6f9c06034bbb6a9c7bf00dfe7f
parent84715dd6c19e058557ab173d327ea65eac0ccb02
ARM: imx: eliminate macro IOMUX_TO_IRQ()

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

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>
12 files changed:
arch/arm/mach-imx/mach-armadillo5x0.c
arch/arm/mach-imx/mach-kzm_arm11_01.c
arch/arm/mach-imx/mach-mx31_3ds.c
arch/arm/mach-imx/mach-mx31ads.c
arch/arm/mach-imx/mach-mx31lilly.c
arch/arm/mach-imx/mach-mx31lite.c
arch/arm/mach-imx/mach-mx31moboard.c
arch/arm/mach-imx/mach-pcm037.c
arch/arm/mach-imx/mach-qong.c
arch/arm/mach-imx/mx31lilly-db.c
arch/arm/mach-imx/mx31lite-db.c
arch/arm/plat-mxc/include/mach/iomux-mx3.h