mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
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: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
parent
ad0926f05b
commit
44beda0c35
@ -205,8 +205,7 @@ static int __init tangox_irq_init(void __iomem *base, struct resource *baseres,
|
||||
|
||||
tangox_irq_domain_init(dom);
|
||||
|
||||
irq_set_chained_handler(irq, tangox_irq_handler);
|
||||
irq_set_handler_data(irq, dom);
|
||||
irq_set_chained_handler_and_data(irq, tangox_irq_handler, dom);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user