Commit a51e80d0 authored by Axel Lin's avatar Axel Lin Committed by Thomas Gleixner

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: default avatarAxel Lin <>
Cc: Ralf Baechle <>
Cc: Jason Cooper <>
Cc: Marc Zyngier <>
Link: default avatarThomas Gleixner <>
parent bebcb8da
......@@ -377,8 +377,8 @@ int __init i8259_of_init(struct device_node *node, struct device_node *parent)
domain = __init_i8259_irqs(node);
irq_set_handler_data(parent_irq, domain);
irq_set_chained_handler(parent_irq, i8259_irq_dispatch);
irq_set_chained_handler_and_data(parent_irq, i8259_irq_dispatch,
return 0;
IRQCHIP_DECLARE(i8259, "intel,i8259", i8259_of_init);
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