]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
irqchip/econet-en751221: Switch to of_fwnode_handle()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Tue, 13 May 2025 08:47:39 +0000 (10:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 13 May 2025 14:39:03 +0000 (16:39 +0200)
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
drivers/irqchip/irq-econet-en751221.c

index fd65dfe54ce9db75fec90a420a5dd5f7b2088311..d83d5eb127950008b0744d396c41d9b47b72df6e 100644 (file)
@@ -286,7 +286,7 @@ static int __init econet_intc_of_init(struct device_node *node, struct device_no
 
        econet_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);