public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>,
	Caleb James DeLisle <cjd@cjdns.fr>
Subject: [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear()
Date: Tue, 06 May 2025 15:17:46 +0200	[thread overview]
Message-ID: <877c2top39.ffs@tglx> (raw)

irq_domain_add_linear() is about to be removed. Switch to
irq_domain_create_linear().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 drivers/irqchip/irq-econet-en751221.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/drivers/irqchip/irq-econet-en751221.c
+++ b/drivers/irqchip/irq-econet-en751221.c
@@ -286,7 +286,8 @@ static int __init econet_intc_of_init(st
 
 	econet_mask_all();
 
-	domain = irq_domain_add_linear(node, IRQ_COUNT, &econet_domain_ops, NULL);
+	domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
+					  &econet_domain_ops, NULL);
 	if (!domain) {
 		pr_err("%pOF: Failed to add irqdomain\n", node);
 		ret = -ENOMEM;

             reply	other threads:[~2025-05-06 13:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06 13:17 Thomas Gleixner [this message]
2025-05-06 14:27 ` [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear() Caleb James DeLisle
2025-05-06 15:22 ` [tip: irq/drivers] " tip-bot2 for Thomas Gleixner
2025-05-12  8:30 ` [PATCH] " Jiri Slaby
2025-05-12  8:55 ` Jiri Slaby
2025-05-12 19:07   ` Thomas Gleixner

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=877c2top39.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=cjd@cjdns.fr \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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