summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/irq.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-07-22 14:55:44 (GMT)
committerHaojian Zhuang <haojian.zhuang@gmail.com>2012-08-16 08:14:36 (GMT)
commit9450be76d0e3ebedf301aa09e4f98b4d3a175229 (patch)
tree728c52b9fae8251ceeb9cde66b32e1200d0049e7 /arch/arm/mach-pxa/irq.c
parent1e7ba630d4aeabef8e022a4099b20ab9f660d37d (diff)
downloadlinux-9450be76d0e3ebedf301aa09e4f98b4d3a175229.tar.xz
GPIO: gpio-pxa: simplify pxa_gpio_to_irq() and pxa_irq_to_chip()
Simplify the code in gpio-pxa.c and make them based on irq_base. When not probed from devicetree, initialize irq_base from PXA_GPIO_TO_IRQ() or MMP_GPIO_TO_IRQ(), respectively, so the non-DT case still works. Only tested on PXA3xx. Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/irq.c')
0 files changed, 0 insertions, 0 deletions