irqchip/econet-en751221: Switch to irq_domain_create_linear()
Subsystems (2)
PATCH 1/1 irqchip/econet-en751221: Switch to irq_domain_create_linear()
irq_domain_add_linear() is about to be removed. Switch to irq_domain_create_linear().
--- drivers/irqchip/irq-econet-en751221.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/irqchip/irq-econet-en751221.c +2 -1
@@ -286,7 +286,8 @@ static int __init econet_intc_of_init(steconet_mask_all (); - domain =irq_domain_add_linear (node,IRQ_COUNT , &econet_domain_ops,NULL ); + domain =irq_domain_create_linear (of_node_to_fwnode (node),IRQ_COUNT , + &econet_domain_ops,NULL );if (!domain) {pr_err ("%pOF: Failed to add irqdomain\n" , node); ret = -ENOMEM ;
Quoted 4 lines · Thomas Gleixner
irq_domain_add_linear()is about to be removed. Switch toirq_domain_create_linear().Signed-off-by Thomas Gleixner <[email protected]>
Quoted 16 lines
--- drivers/irqchip/irq-econet-en751221.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/irqchip/irq-econet-en751221.c +2
-1@@ -286,7 +286,8 @@ static int __init econet_intc_of_init(steconet_mask_all (); - domain =irq_domain_add_linear (node,IRQ_COUNT , &econet_domain_ops,NULL ); + domain =irq_domain_create_linear (of_node_to_fwnode (node),IRQ_COUNT , + &econet_domain_ops,NULL );if (!domain) {pr_err ("%pOF: Failed to add irqdomain\n" , node); ret = -ENOMEM ;
The following commit has been merged into the irq/drivers branch of tip:
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: 85cf5c63d32f39874d0dc1cd6c12b40e1ba8370e Gitweb: https://git.kernel.org/tip/85cf5c63d32f39874d0dc1cd6c12b40e1ba8370e Author: Thomas Gleixner <[email protected]> AuthorDate: Tue, 06 May 2025 15:17:46 +02:00 Committer: Thomas Gleixner <[email protected]> CommitterDate: Tue, 06 May 2025 17:18:31 +02:00
irqchip/econet-en751221: Switch to irq_domain_create_linear()
irq_domain_add_linear() is about to be removed. Switch to irq_domain_create_linear().
--- drivers/irqchip/irq-econet-en751221.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/irqchip/irq-econet-en751221.c +2 -1
@@ -286,7 +286,8 @@ static int __init econet_intc_of_init(struct device_node *node, struct device_noeconet_mask_all (); - domain =irq_domain_add_linear (node,IRQ_COUNT , &econet_domain_ops,NULL ); + domain =irq_domain_create_linear (of_node_to_fwnode (node),IRQ_COUNT , + &econet_domain_ops,NULL );if (!domain) {pr_err ("%pOF: Failed to add irqdomain\n" , node); ret = -ENOMEM ;
Quoted 4 lines · Thomas Gleixner
irq_domain_add_linear()is about to be removed. Switch toirq_domain_create_linear().Signed-off-by Thomas Gleixner <[email protected]>
Late, but:
Thanks for fixing this new one.
Signature · 2 lines
js suse labs
Quoted 11 lines · Thomas Gleixner
irq_domain_add_linear()is about to be removed. Switch toirq_domain_create_linear().Signed-off-by Thomas Gleixner <[email protected]>--- drivers/irqchip/irq-econet-en751221.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/irqchip/irq-econet-en751221.c static int __init econet_intc_of_init(st · line 289
Quoted 5 lines
drivers/irqchip/irq-econet-en751221.c +1
-1@@ -286,7 +286,8 @@ static int __init econet_intc_of_init(steconet_mask_all (); - domain =irq_domain_add_linear (node,IRQ_COUNT , &econet_domain_ops,NULL ); + domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
Actually, of_node_to_fwnode() is dying. I will send a patch to convert to of_fwnode_handle() on the top of this one.
thanks,
Signature · 2 lines
js suse labs
Quoted 13 lines · Jiri Slaby
Quoted 12 lines · Thomas Gleixner
irq_domain_add_linear()is about to be removed. Switch toirq_domain_create_linear().Signed-off-by Thomas Gleixner <[email protected]>--- drivers/irqchip/irq-econet-en751221.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/irqchip/irq-econet-en751221.c +0
-0@@ -286,7 +286,8 @@ static int __init econet_intc_of_init(st
Quoted 7 lines
drivers/irqchip/irq-econet-en751221.c static int __init econet_intc_of_init(st · line 289
Quoted 4 lines
drivers/irqchip/irq-econet-en751221.c +1
-1econet_mask_all (); - domain =irq_domain_add_linear (node,IRQ_COUNT , &econet_domain_ops,NULL ); + domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,Actually,
of_node_to_fwnode()is dying. I will send a patch to convert toof_fwnode_handle()on the top of this one.
Hrmpf. Yes....