]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: JZ4740: GPIO: Use shared irq chip for all gpios
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 23 Mar 2011 21:08:54 +0000 (21:08 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 25 Mar 2011 17:45:16 +0000 (18:45 +0100)
commit8a7de0b28aac1452e8250bde1b643e109d38a541
treea356da8a0d39d508fd61a65da46179e5b2d1411a
parent063405c8b6396bc7ccbacd162cdfca55fd0b0cd6
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