irqchip/sifive-plic: Use devm_xyz() for managed allocation
authorAnup Patel <apatel@ventanamicro.com>
Thu, 22 Feb 2024 09:39:51 +0000 (15:09 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 Feb 2024 09:18:43 +0000 (10:18 +0100)
commitb68d0ff529a939a118ec52f271be8cad5d99e79a
tree7df62708447424e31899ef351bc2381fac5a26f2
parent25d862e183d4efeb5e8b9843d783c90aaae4b14a
irqchip/sifive-plic: Use devm_xyz() for managed allocation

Use devm_xyz() for allocations and mappings managed by the
Linux device driver framework.

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