]> www.infradead.org Git - users/hch/misc.git/commitdiff
irqdomain: soc: Switch to irq_find_mapping()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 19 Mar 2025 09:29:41 +0000 (10:29 +0100)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 20 Mar 2025 16:09:11 +0000 (17:09 +0100)
irq_linear_revmap() is deprecated, so remove all its uses and supersede
them by an identical call to irq_find_mapping().

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Qiang Zhao <qiang.zhao@nxp.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20250319092951.37667-49-jirislaby@kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/soc/fsl/qe/qe_ic.c

index bbae3d39c7bedb23c166c46bdc0b42baa4e620fe..77bf0e83ffccc1e1e6050c3bc6b785deb032c768 100644 (file)
@@ -344,7 +344,7 @@ static unsigned int qe_ic_get_low_irq(struct qe_ic *qe_ic)
        if (irq == 0)
                return 0;
 
-       return irq_linear_revmap(qe_ic->irqhost, irq);
+       return irq_find_mapping(qe_ic->irqhost, irq);
 }
 
 /* Return an interrupt vector or 0 if no interrupt is pending. */
@@ -360,7 +360,7 @@ static unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic)
        if (irq == 0)
                return 0;
 
-       return irq_linear_revmap(qe_ic->irqhost, irq);
+       return irq_find_mapping(qe_ic->irqhost, irq);
 }
 
 static void qe_ic_cascade_low(struct irq_desc *desc)