]> 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)
commit258b03d794d50b093f900c4b4bf0b6be74d061a0
treebce797c6438e75ee3408e7e484e82b09b4c7876c
parent833fc397c3a8e352c1ac5c2144fd7984298eae50
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