summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Louvel <paul.louvel@bootlin.com>2026-07-08 12:15:22 +0200
committerChristophe Leroy (CS GROUP) <chleroy@kernel.org>2026-08-03 14:58:59 +0200
commit17ee1c7e48a36d4e03a24092674abfd07751c0f2 (patch)
tree81d56548ed311fc600746aaee176131a37e41703
parent159dae1b6b76d34b0e55c486a48cfd05ddf82f72 (diff)
soc: fsl: qe: Rename irq variable to parent_irq
Rename the local variable holding the platform IRQ to parent_irq, which better describes its role as the upstream/chained interrupt in the hierarchy. Signed-off-by: Paul Louvel <paul.louvel@bootlin.com> Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org> Link: https://lore.kernel.org/r/20260708-qe-pic-gpios-v2-9-1972044cfbd1@bootlin.com Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
-rw-r--r--drivers/soc/fsl/qe/qe_ports_ic.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/soc/fsl/qe/qe_ports_ic.c b/drivers/soc/fsl/qe/qe_ports_ic.c
index 4f6b75439f9f..7375f92f528b 100644
--- a/drivers/soc/fsl/qe/qe_ports_ic.c
+++ b/drivers/soc/fsl/qe/qe_ports_ic.c
@@ -18,7 +18,7 @@
struct qepic_data {
void __iomem *reg;
- int irq;
+ int parent_irq;
};
static void qepic_mask(struct irq_data *d)
@@ -117,7 +117,7 @@ static int qepic_domain_init(struct irq_domain *d)
{
struct qepic_data *data = d->host_data;
- irq_set_chained_handler_and_data(data->irq, qepic_cascade, d);
+ irq_set_chained_handler_and_data(data->parent_irq, qepic_cascade, d);
return 0;
}
@@ -126,7 +126,7 @@ static void qepic_domain_exit(struct irq_domain *d)
{
struct qepic_data *data = d->host_data;
- irq_set_chained_handler_and_data(data->irq, NULL, NULL);
+ irq_set_chained_handler_and_data(data->parent_irq, NULL, NULL);
}
static int qepic_probe(struct platform_device *pdev)
@@ -161,9 +161,9 @@ static int qepic_probe(struct platform_device *pdev)
if (IS_ERR(data->reg))
return PTR_ERR(data->reg);
- data->irq = platform_get_irq(pdev, 0);
- if (data->irq < 0)
- return data->irq;
+ data->parent_irq = platform_get_irq(pdev, 0);
+ if (data->parent_irq < 0)
+ return data->parent_irq;
domain = devm_irq_domain_instantiate(dev, &d_info);
if (IS_ERR(domain))