diff options
author | Vasileios Amoiridis <[email protected]> | 2024-09-13 00:16:04 +0200 |
---|---|---|
committer | Rob Herring (Arm) <[email protected]> | 2024-09-13 14:52:28 -0500 |
commit | ba3c92ba09fecf9286f54ef54a03638711e11da8 (patch) | |
tree | c15933321912ac0dbeaee5570e122bdf3144e9ae | |
parent | 5f949556ed38bfa3d89dfe46a18accf52b04fa42 (diff) |
of/irq: Make use of irq_get_trigger_type()
Convert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more
simple irq_get_trigger_type(irq).
Suggested-by: Andy Shevchenko <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Vasileios Amoiridis <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring (Arm) <[email protected]>
-rw-r--r-- | drivers/of/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 36351ad6115e..5d27b20634d3 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -430,7 +430,7 @@ int of_irq_to_resource(struct device_node *dev, int index, struct resource *r) &name); r->start = r->end = irq; - r->flags = IORESOURCE_IRQ | irqd_get_trigger_type(irq_get_irq_data(irq)); + r->flags = IORESOURCE_IRQ | irq_get_trigger_type(irq); r->name = name ? name : of_node_full_name(dev); } |