mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01: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) <jirislaby@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250513084739.2611747-1-jirislaby@kernel.org
This commit is contained in:
parent
15568ffd59
commit
96a8cb6d28
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue