irqchip/econet-en751221: Switch to of_fwnode_handle()
Subsystems (2)
PATCH 1/1 irqchip/econet-en751221: Switch to of_fwnode_handle()
of_node_to_fwnode() is an irqdomain's reimplementation of the "officially" defined of_fwnode_handle(). The former is in the process of being removed, so use the latter instead.
Signed-off-by Jiri Slaby (SUSE) <[email protected]>
--- drivers/irqchip/irq-econet-en751221.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-econet-en751221.c +1 -1
@@ -286,7 +286,7 @@ static int __init econet_intc_of_init(struct device_node *node, struct device_noeconet_mask_all (); - domain =irq_domain_create_linear (of_node_to_fwnode (node),IRQ_COUNT , + domain =irq_domain_create_linear (of_fwnode_handle (node),IRQ_COUNT , &econet_domain_ops,NULL );if (!domain) {pr_err ("%pOF: Failed to add irqdomain\n" , node);
Signature · 1 line
2.49.0
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: 96a8cb6d28cebd51a286fe4a8782dc8492813ac4 Gitweb: https://git.kernel.org/tip/96a8cb6d28cebd51a286fe4a8782dc8492813ac4 Author: Jiri Slaby (SUSE) <[email protected]> AuthorDate: Tue, 13 May 2025 10:47:39 +02:00 Committer: Thomas Gleixner <[email protected]> CommitterDate: Tue, 13 May 2025 16:39:03 +02:00
irqchip/econet-en751221: Switch to of_fwnode_handle()
of_node_to_fwnode() is an irqdomain's reimplementation of the "officially" defined of_fwnode_handle(). The former is in the process of being removed, so use the latter instead.
Signed-off-by Jiri Slaby (SUSE) <[email protected]>
Signed-off-by Thomas Gleixner <[email protected]>
--- drivers/irqchip/irq-econet-en751221.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-econet-en751221.c +1 -1
@@ -286,7 +286,7 @@ static int __init econet_intc_of_init(struct device_node *node, struct device_noeconet_mask_all (); - domain =irq_domain_create_linear (of_node_to_fwnode (node),IRQ_COUNT , + domain =irq_domain_create_linear (of_fwnode_handle (node),IRQ_COUNT , &econet_domain_ops,NULL );if (!domain) {pr_err ("%pOF: Failed to add irqdomain\n" , node);