OSDN Git Service

pinctrl/exynos: Consolidate chained IRQ handler install/remove
authorThomas Gleixner <tglx@linutronix.de>
Sun, 21 Jun 2015 19:11:07 +0000 (21:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jul 2015 19:56:16 +0000 (21:56 +0200)
commitc21f7849f126570c0bb1ececbb3ddba7b20cfc03
tree74e3f6af8b7b513d8ea7a29967fa924e9b7775a9
parent20d5d142a645600f28cf42b8e3336f7309897b1e
pinctrl/exynos: Consolidate chained IRQ handler install/remove

Chained irq handlers usually set up handler data as well. We now have
a function to set both under irq_desc->lock. Replace the two calls
with one.

Search and conversion was done with coccinelle.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org
drivers/pinctrl/samsung/pinctrl-exynos.c