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

From: yexingchen116
Date: Wed Oct 12 2022 - 21:40:00 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>
Reviewed-by: Mukesh Ojha <quic_mojha@xxxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
---
v3 -> v4
fix the mistake on subject line and add a '(' for generic_handle_irq().
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