Commit 523eef1d authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Li Yang

soc: fsl: qe: rename qe_ic_cascade_low_mpic -> qe_ic_cascade_low

The qe_ic_cascade_{low,high}_mpic functions are now used as handlers
both when the interrupt parent is mpic as well as ipic, so remove the
_mpic suffix.
Reviewed-by: default avatarTimur Tabi <timur@kernel.org>
Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
parent a36742d1
...@@ -314,7 +314,7 @@ unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic) ...@@ -314,7 +314,7 @@ unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic)
return irq_linear_revmap(qe_ic->irqhost, irq); return irq_linear_revmap(qe_ic->irqhost, irq);
} }
static void qe_ic_cascade_low_mpic(struct irq_desc *desc) static void qe_ic_cascade_low(struct irq_desc *desc)
{ {
struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); struct qe_ic *qe_ic = irq_desc_get_handler_data(desc);
unsigned int cascade_irq = qe_ic_get_low_irq(qe_ic); unsigned int cascade_irq = qe_ic_get_low_irq(qe_ic);
...@@ -327,7 +327,7 @@ static void qe_ic_cascade_low_mpic(struct irq_desc *desc) ...@@ -327,7 +327,7 @@ static void qe_ic_cascade_low_mpic(struct irq_desc *desc)
chip->irq_eoi(&desc->irq_data); chip->irq_eoi(&desc->irq_data);
} }
static void qe_ic_cascade_high_mpic(struct irq_desc *desc) static void qe_ic_cascade_high(struct irq_desc *desc)
{ {
struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); struct qe_ic *qe_ic = irq_desc_get_handler_data(desc);
unsigned int cascade_irq = qe_ic_get_high_irq(qe_ic); unsigned int cascade_irq = qe_ic_get_high_irq(qe_ic);
...@@ -392,8 +392,8 @@ static void __init qe_ic_init(struct device_node *node, unsigned int flags) ...@@ -392,8 +392,8 @@ static void __init qe_ic_init(struct device_node *node, unsigned int flags)
return; return;
} }
if (qe_ic->virq_high != qe_ic->virq_low) { if (qe_ic->virq_high != qe_ic->virq_low) {
low_handler = qe_ic_cascade_low_mpic; low_handler = qe_ic_cascade_low;
high_handler = qe_ic_cascade_high_mpic; high_handler = qe_ic_cascade_high;
} else { } else {
low_handler = qe_ic_cascade_muxed_mpic; low_handler = qe_ic_cascade_muxed_mpic;
high_handler = NULL; high_handler = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment