mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqchip/econet-en751221: Switch to of_fwnode_handle()
@ 2025-05-13  8:47 Jiri Slaby (SUSE)
  2025-05-13 14:48 ` [tip: irq/drivers] " tip-bot2 for Jiri Slaby (SUSE)
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby (SUSE) @ 2025-05-13  8:47 UTC (permalink / raw)
  To: tglx; +Cc: linux-kernel, Jiri Slaby (SUSE)

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>
---
 drivers/irqchip/irq-econet-en751221.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-econet-en751221.c b/drivers/irqchip/irq-econet-en751221.c
index fd65dfe54ce9..d83d5eb12795 100644
--- a/drivers/irqchip/irq-econet-en751221.c
+++ b/drivers/irqchip/irq-econet-en751221.c
@@ -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);
-- 
2.49.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-13 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-13  8:47 [PATCH] irqchip/econet-en751221: Switch to of_fwnode_handle() Jiri Slaby (SUSE)
2025-05-13 14:48 ` [tip: irq/drivers] " tip-bot2 for Jiri Slaby (SUSE)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®