irqchip/i8259: Convert to use irq_set_chained_handler_and_data

Chained irq handlers usually set up handler data as well. We now have
a function to set both under irq_desc->lock. Replace the two calls
with one.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: http://lkml.kernel.org/r/1443709604.12993.0.camel@ingics.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Axel Lin 2015-10-01 22:26:44 +08:00 committed by Thomas Gleixner
parent bebcb8dab6
commit a51e80d002
1 changed files with 2 additions and 2 deletions

View File

@ -377,8 +377,8 @@ int __init i8259_of_init(struct device_node *node, struct device_node *parent)
} }
domain = __init_i8259_irqs(node); domain = __init_i8259_irqs(node);
irq_set_handler_data(parent_irq, domain); irq_set_chained_handler_and_data(parent_irq, i8259_irq_dispatch,
irq_set_chained_handler(parent_irq, i8259_irq_dispatch); domain);
return 0; return 0;
} }
IRQCHIP_DECLARE(i8259, "intel,i8259", i8259_of_init); IRQCHIP_DECLARE(i8259, "intel,i8259", i8259_of_init);