diff options
author | Daniel Mack <zonque@gmail.com> | 2012-07-22 16:55:44 +0200 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-08-16 16:14:36 +0800 |
commit | 9450be76d0e3ebedf301aa09e4f98b4d3a175229 (patch) | |
tree | 728c52b9fae8251ceeb9cde66b32e1200d0049e7 /include/scsi | |
parent | 1e7ba630d4aeabef8e022a4099b20ab9f660d37d (diff) |
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 'include/scsi')
0 files changed, 0 insertions, 0 deletions