[PATCH linux-next] soc: Use generic_handle_domain_irq()

From: yexingchen116
Date: Mon Oct 10 2022 - 23:21:15 EST


From: ye xingchen <ye.xingchen@xxxxxxxxxx>

Replace generic_handle_irq(irq_find_mapping()) with
generic_handle_domain_irq().

Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>
---
drivers/soc/dove/pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/dove/pmu.c b/drivers/soc/dove/pmu.c
index ffc5311c0ed8..308fe45231b4 100644
--- a/drivers/soc/dove/pmu.c
+++ b/drivers/soc/dove/pmu.c
@@ -243,7 +243,7 @@ static void pmu_irq_handler(struct irq_desc *desc)
stat &= ~(1 << hwirq);
done &= ~(1 << hwirq);

- generic_handle_irq(irq_find_mapping(domain, hwirq));
+ generic_handle_domain_irq(domain, hwirq);
}

/*
--
2.25.1