diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2013-06-14 12:40:49 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-06-25 05:48:25 -0400 |
commit | fbab62c5cd57a6acd9ed80903532c86897d2d560 (patch) | |
tree | 4337d7d76b52bb6470e015ecef40f4f72059f47c /kernel/irq | |
parent | 5ebf1f29e20de9b37937f808dc2ac8dd15311450 (diff) |
irqdomain: 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_desc_get_irq_data(virq))
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>
Cc: 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-8-git-send-email-javier.martinez@collabora.co.uk
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/irqdomain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 1db9e70f5488..489921e6242a 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c | |||
@@ -687,7 +687,7 @@ unsigned int irq_create_of_mapping(struct device_node *controller, | |||
687 | 687 | ||
688 | /* Set type if specified and different than the current one */ | 688 | /* Set type if specified and different than the current one */ |
689 | if (type != IRQ_TYPE_NONE && | 689 | if (type != IRQ_TYPE_NONE && |
690 | type != (irqd_get_trigger_type(irq_get_irq_data(virq)))) | 690 | type != irq_get_trigger_type(virq)) |
691 | irq_set_irq_type(virq, type); | 691 | irq_set_irq_type(virq, type); |
692 | return virq; | 692 | return virq; |
693 | } | 693 | } |