irqchip/sifive-plic: Use riscv_get_intc_hwnode() to get parent fwnode
authorAnup Patel <apatel@ventanamicro.com>
Thu, 22 Feb 2024 09:39:52 +0000 (15:09 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 Feb 2024 09:18:44 +0000 (10:18 +0100)
commit6c725f33d67b53f2d302c2c4509deae953fc6ade
treef7582a318a666944f799532945477eb3cf12ce56
parentb68d0ff529a939a118ec52f271be8cad5d99e79a
irqchip/sifive-plic: Use riscv_get_intc_hwnode() to get parent fwnode

The RISC-V INTC irqdomain is always the parent irqdomain of SiFive PLIC
so use riscv_get_intc_hwnode() to get the parent fwnode similar to other
RISC-V drivers which use local interrupts.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240222094006.1030709-5-apatel@ventanamicro.com
drivers/irqchip/irq-sifive-plic.c