summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-06-07 05:58:55 -0400
committerMarc Zyngier <marc.zyngier@arm.com>2019-06-11 07:22:42 -0400
commitec93b94ac16a9ad1521ea1fcedc4747ae724a8aa (patch)
tree1fca7ff669d69f68c5f101028f3ff36d9f5f2848 /drivers/irqchip
parentc64a9e804ccf86eb202bfd1c6a8c5233c75a0431 (diff)
irqchip/renesas-intc-irqpin: Use proper irq_chip name and parent
The irq_chip .name field should contain the device's class (not instance) name, while .parent_device should point to the device itself. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-renesas-intc-irqpin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-renesas-intc-irqpin.c b/drivers/irqchip/irq-renesas-intc-irqpin.c
index 04c05a18600c..f82bc60a6793 100644
--- a/drivers/irqchip/irq-renesas-intc-irqpin.c
+++ b/drivers/irqchip/irq-renesas-intc-irqpin.c
@@ -508,7 +508,8 @@ static int intc_irqpin_probe(struct platform_device *pdev)
508 } 508 }
509 509
510 irq_chip = &p->irq_chip; 510 irq_chip = &p->irq_chip;
511 irq_chip->name = name; 511 irq_chip->name = "intc-irqpin";
512 irq_chip->parent_device = dev;
512 irq_chip->irq_mask = disable_fn; 513 irq_chip->irq_mask = disable_fn;
513 irq_chip->irq_unmask = enable_fn; 514 irq_chip->irq_unmask = enable_fn;
514 irq_chip->irq_set_type = intc_irqpin_irq_set_type; 515 irq_chip->irq_set_type = intc_irqpin_irq_set_type;