From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
To: tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Subject: [PATCH] irqchip/econet-en751221: Switch to of_fwnode_handle()
Date: Tue, 13 May 2025 10:47:39 +0200 [thread overview]
Message-ID: <20250513084739.2611747-1-jirislaby@kernel.org> (raw)
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
next reply other threads:[~2025-05-13 8:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-13 8:47 Jiri Slaby (SUSE) [this message]
2025-05-13 14:48 ` [tip: irq/drivers] " tip-bot2 for Jiri Slaby (SUSE)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250513084739.2611747-1-jirislaby@kernel.org \
--to=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®