MIPS: JZ4740: GPIO: Use shared irq chip for all gpios
commitcd11d14de91809ff3a150f823965a5b4209cad84
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 23 Mar 2011 21:08:54 +0000 (23 21:08 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 25 Mar 2011 17:45:16 +0000 (25 18:45 +0100)
treea356da8a0d39d508fd61a65da46179e5b2d1411a
parent42b64f388c171a7a1a8962d93d9bae2c04da7738
MIPS: JZ4740: GPIO: Use shared irq chip for all gpios

Currently there is one irq_chip per gpio_chip with the only difference
being the name. Since the information whether the irq belong to GPIO
bank A, B, C or D is not that important rewrite the code to simply use
a single irq_chip for all gpio_chips.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2182/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/gpio.c