Commit 44beda0c authored by Martin Kaiser's avatar Martin Kaiser Committed by Marc Zyngier

irqchip/tango: Set irq handler and data in one go

Replace the two separate calls for setting the irq handler and data with
a single irq_set_chained_handler_and_data() call.
Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent ad0926f0
...@@ -205,8 +205,7 @@ static int __init tangox_irq_init(void __iomem *base, struct resource *baseres, ...@@ -205,8 +205,7 @@ static int __init tangox_irq_init(void __iomem *base, struct resource *baseres,
tangox_irq_domain_init(dom); tangox_irq_domain_init(dom);
irq_set_chained_handler(irq, tangox_irq_handler); irq_set_chained_handler_and_data(irq, tangox_irq_handler, dom);
irq_set_handler_data(irq, dom);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment