Skip to content

Commit a70a3a6

Browse files
Jiri Slaby (SUSE)chleroy
authored andcommitted
irqdomain: soc: Switch to irq_find_mapping()
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) <[email protected]> Cc: Qiang Zhao <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christophe Leroy <[email protected]>
1 parent 2014c95 commit a70a3a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/soc/fsl/qe/qe_ic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ static unsigned int qe_ic_get_low_irq(struct qe_ic *qe_ic)
344344
if (irq == 0)
345345
return 0;
346346

347-
return irq_linear_revmap(qe_ic->irqhost, irq);
347+
return irq_find_mapping(qe_ic->irqhost, irq);
348348
}
349349

350350
/* 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)
360360
if (irq == 0)
361361
return 0;
362362

363-
return irq_linear_revmap(qe_ic->irqhost, irq);
363+
return irq_find_mapping(qe_ic->irqhost, irq);
364364
}
365365

366366
static void qe_ic_cascade_low(struct irq_desc *desc)

0 commit comments

Comments
 (0)