ARM: pxa: move PXA_GPIO_TO_IRQ macro
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Tue, 9 Apr 2013 10:12:04 +0000 (18:12 +0800)
committerHaojian Zhuang <haojian.zhuang@linaro.org>
Thu, 11 Apr 2013 02:00:05 +0000 (10:00 +0800)
commitb8f649f1f531914a30ecb420e7565ee04dccc2ad
tree42b2bc905fce1c892511ff81a250d7330b33a4ed
parent2cab0292285ce3180224c130d2fb1104aee44ff1
ARM: pxa: move PXA_GPIO_TO_IRQ macro

Since PXA_GPIO_TO_IRQ() & MMP_GPIO_TO_IRQ() macro are depended on
arch code, move them from gpio driver to platform driver instead.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
15 files changed:
arch/arm/mach-mmp/aspenite.c
arch/arm/mach-mmp/avengers_lite.c
arch/arm/mach-mmp/brownstone.c
arch/arm/mach-mmp/flint.c
arch/arm/mach-mmp/gplugd.c
arch/arm/mach-mmp/jasper.c
arch/arm/mach-mmp/tavorevb.c
arch/arm/mach-mmp/teton_bga.c
arch/arm/mach-mmp/ttc_dkb.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-pxa/pxa930.c
drivers/gpio/gpio-pxa.c
include/linux/gpio-pxa.h