summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-pruss-intc.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2025-06-11 12:43:38 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-06-12 15:08:12 +0200
commit93174c05dd2e9b02eb6b5c93dd9109087ae4ffcf (patch)
treedda1ead30246ead63346acb3c4259b9d721c4695 /drivers/irqchip/irq-pruss-intc.c
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff)
irqchip: Use dev_fwnode()
irq_domain_create_simple() takes a fwnode as the first argument. It can be extracted from struct device using the dev_fwnode() helper instead of using of_node with of_fwnode_handle(). So use the dev_fwnode() helper. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250611104348.192092-10-jirislaby@kernel.org
Diffstat (limited to 'drivers/irqchip/irq-pruss-intc.c')
-rw-r--r--drivers/irqchip/irq-pruss-intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-pruss-intc.c b/drivers/irqchip/irq-pruss-intc.c
index 87a5813fd835..81078d56f38d 100644
--- a/drivers/irqchip/irq-pruss-intc.c
+++ b/drivers/irqchip/irq-pruss-intc.c
@@ -555,7 +555,7 @@ static int pruss_intc_probe(struct platform_device *pdev)
mutex_init(&intc->lock);
- intc->domain = irq_domain_create_linear(of_fwnode_handle(dev->of_node), max_system_events,
+ intc->domain = irq_domain_create_linear(dev_fwnode(dev), max_system_events,
&pruss_intc_irq_domain_ops, intc);
if (!intc->domain)
return -ENOMEM;