Thread (4 messages) 4 messages, 4 authors, 2025-03-20

Re: [Linux-stm32] [PATCH v2 06/57] irqdomain: irqchip: Switch to of_fwnode_handle()

From: Antonio Borneo <antonio.borneo@foss.st.com>
Date: 2025-03-19 10:35:45
Also in: asahi, linux-amlogic, linux-mips, linux-riscv, lkml, loongarch

On Wed, 2025-03-19 at 10:28 +0100, Jiri Slaby (SUSE) wrote:
of_node_to_fwnode() is irqdomain's reimplementation of the "officially"
defined of_fwnode_handle(). The former is in the process of being
removed, so use the latter instead.
... snip ...
quoted hunk ↗ jump to hunk
diff --git a/drivers/irqchip/irq-stm32mp-exti.c b/drivers/irqchip/irq-stm32mp-exti.c
index cb83d6cc6113..649b84f12efc 100644
--- a/drivers/irqchip/irq-stm32mp-exti.c
+++ b/drivers/irqchip/irq-stm32mp-exti.c
@@ -531,7 +531,7 @@ static int stm32mp_exti_domain_alloc(struct irq_domain *dm,
                if (ret)
                        return ret;
                /* we only support one parent, so far */
-               if (of_node_to_fwnode(out_irq.np) != dm->parent->fwnode)
+               if (of_fwnode_handle(out_irq.np) != dm->parent->fwnode)
For drivers/irqchip/irq-stm32mp-exti.c
Reviewed-by: Antonio Borneo <antonio.borneo@foss.st.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help