OSDN Git Service

gpio: mvebu: Use irq_get_trigger_type() to get IRQ flags
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Fri, 14 Jun 2013 16:40:44 +0000 (18:40 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 25 Jun 2013 09:48:25 +0000 (11:48 +0200)
commitfb90c22ab5e926bd35526f197097793cf479b254
treec07270acc37d0082db10b6c0d65b27b8a939364f
parent1f6236bfd7c38d5f9f7648fae7215e65274b9e63
gpio: mvebu: Use irq_get_trigger_type() to get IRQ flags

Use irq_get_trigger_type() to get the IRQ trigger type flags
instead calling irqd_get_trigger_type(irq_get_irq_data(irq))

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Grant Likely <grant.likely@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mips@linux-mips.org
Link: http://lkml.kernel.org/r/1371228049-27080-3-git-send-email-javier.martinez@collabora.co.uk
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/gpio/gpio-mvebu.c