lib: utils/irqchip: Use fdt_driver for initialization

The irqchip driver subsystem does not need any extra data, so it can use
`struct fdt_driver` directly. The generic fdt_irqchip_init() performs a
best-effort initialization of all matching DT nodes.

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Samuel Holland
2025-01-19 11:03:55 -08:00
committed by Anup Patel
parent a7f3c159a0
commit 9e1a1518d4
6 changed files with 10 additions and 41 deletions

View File

@@ -1,3 +1,3 @@
HEADER: sbi_utils/irqchip/fdt_irqchip.h
TYPE: struct fdt_irqchip
TYPE: const struct fdt_driver
NAME: fdt_irqchip_drivers