public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear()
@ 2025-05-06 13:17 Thomas Gleixner
  2025-05-06 14:27 ` Caleb James DeLisle
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Thomas Gleixner @ 2025-05-06 13:17 UTC (permalink / raw)
  To: LKML; +Cc: Jiri Slaby (SUSE), Caleb James DeLisle

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;

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

end of thread, other threads:[~2025-05-12 19:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 13:17 [PATCH] irqchip/econet-en751221: Switch to irq_domain_create_linear() Thomas Gleixner
2025-05-06 14:27 ` 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

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