]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: OCTEON: Simplify code in octeon_irq_ciu_gpio_set_type()
authorDavid Daney <david.daney@cavium.com>
Tue, 9 Feb 2016 19:00:13 +0000 (11:00 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:41 +0000 (14:01 +0200)
commitd78ee6b67d9f6e21aa87b80c967f4f281aa63efe
treebce797c6438e75ee3408e7e484e82b09b4c7876c
parent7ebe442f53e6bd81bbb63358c0f9adbc5db56192
MIPS: OCTEON: Simplify code in octeon_irq_ciu_gpio_set_type()

Use the trigger type passed in to the function instead of reading it
back out of the irq_data.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12501/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/octeon-irq.c