projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bebcb8d
)
irqchip/i8259: Convert to use irq_set_chained_handler_and_data
author
Axel Lin
<
[email protected]
>
Thu, 1 Oct 2015 14:26:44 +0000
(22:26 +0800)
committer
Thomas Gleixner
<
[email protected]
>
Thu, 1 Oct 2015 14:32:54 +0000
(16:32 +0200)
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 <
[email protected]
>
Cc: Ralf Baechle <
[email protected]
>
Cc: Jason Cooper <
[email protected]
>
Cc: Marc Zyngier <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Thomas Gleixner <
[email protected]
>
drivers/irqchip/irq-i8259.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-i8259.c
b/drivers/irqchip/irq-i8259.c
index e484fd2553210f55fd0eb72375f4ada1511c7fec..6b304eb39bd22c96b64c6a99629ef4195db721b5 100644
(file)
--- a/
drivers/irqchip/irq-i8259.c
+++ b/
drivers/irqchip/irq-i8259.c
@@
-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,
+
domain
);
return 0;
}
IRQCHIP_DECLARE(i8259, "intel,i8259", i8259_of_init);