MIPS: JZ4740: GPIO: Simplify IRQ demuxer
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 24 Sep 2011 00:29:54 +0000 (02:29 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Oct 2011 22:34:25 +0000 (23:34 +0100)
commitfe5a8b7f0602b5a536d23cd3468461e9de76256b
tree4bd2f84494fc578c87a2327d60079151a12d586f
parent83bc769200802c9ce8fd1c7315fd14198d385b12
MIPS: JZ4740: GPIO: Simplify IRQ demuxer

We already know the base IRQ for a GPIO chip, so there is no need to
recalculate it in the demux handler.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: Lars-Peter Clausen <lars@metafoo.de>
Patchwork: http://patchwork.linux-mips.org/patch/2432/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/gpio.c