mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
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>
This commit is contained in:
parent
159dae1b6b
commit
17ee1c7e48
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user