Skip to content

Commit 96a8cb6

Browse files
Jiri Slaby (SUSE)KAGA-KOKO
authored andcommitted
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) <jirislaby@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250513084739.2611747-1-jirislaby@kernel.org
1 parent 15568ff commit 96a8cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-econet-en751221.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ static int __init econet_intc_of_init(struct device_node *node, struct device_no
286286

287287
econet_mask_all();
288288

289-
domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
289+
domain = irq_domain_create_linear(of_fwnode_handle(node), IRQ_COUNT,
290290
&econet_domain_ops, NULL);
291291
if (!domain) {
292292
pr_err("%pOF: Failed to add irqdomain\n", node);

0 commit comments

Comments
 (0)