summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-starfive.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-02-11 12:23:45 +0300
committerLinus Walleij <linus.walleij@linaro.org>2022-02-19 03:50:23 +0300
commit64fd52a4d3ce63a327948cefc8e4e5c7ef35e813 (patch)
tree0a467230ed53c2490471bb51c12fc2382d2ce11c /drivers/pinctrl/pinctrl-starfive.c
parente9f7b9228a94778edb7a63fde3c0a3c5bb793064 (diff)
downloadlinux-64fd52a4d3ce63a327948cefc8e4e5c7ef35e813.tar.xz
pinctrl: starfive: Use a static name for the GPIO irq_chip
Drop the device name used for the GPIO irq_chip and replace it with something static. The information is still available from debugfs and carried as part of the irqdomain. Suggested-by: Emil Renner Berthing <kernel@esmil.dk> Signed-off-by: Marc Zyngier <maz@kernel.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Bartosz Golaszewski <brgl@bgdev.pl> Link: https://lore.kernel.org/r/20220211092345.1093332-1-maz@kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-starfive.c')
-rw-r--r--drivers/pinctrl/pinctrl-starfive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-starfive.c b/drivers/pinctrl/pinctrl-starfive.c
index 0b912152a405..266da41a6162 100644
--- a/drivers/pinctrl/pinctrl-starfive.c
+++ b/drivers/pinctrl/pinctrl-starfive.c
@@ -1164,6 +1164,7 @@ static int starfive_irq_set_type(struct irq_data *d, unsigned int trigger)
}
static struct irq_chip starfive_irq_chip = {
+ .name = "StarFive GPIO",
.irq_ack = starfive_irq_ack,
.irq_mask = starfive_irq_mask,
.irq_mask_ack = starfive_irq_mask_ack,
@@ -1308,7 +1309,6 @@ static int starfive_probe(struct platform_device *pdev)
sfp->gc.ngpio = NR_GPIOS;
starfive_irq_chip.parent_device = dev;
- starfive_irq_chip.name = sfp->gc.label;
sfp->gc.irq.chip = &starfive_irq_chip;
sfp->gc.irq.parent_handler = starfive_gpio_irq_handler;