Skip to content

Commit 64fd52a

Browse files
Marc ZyngierLinus Walleij
authored andcommitted
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>
1 parent e9f7b92 commit 64fd52a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pinctrl/pinctrl-starfive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,7 @@ static int starfive_irq_set_type(struct irq_data *d, unsigned int trigger)
11641164
}
11651165

11661166
static struct irq_chip starfive_irq_chip = {
1167+
.name = "StarFive GPIO",
11671168
.irq_ack = starfive_irq_ack,
11681169
.irq_mask = starfive_irq_mask,
11691170
.irq_mask_ack = starfive_irq_mask_ack,
@@ -1308,7 +1309,6 @@ static int starfive_probe(struct platform_device *pdev)
13081309
sfp->gc.ngpio = NR_GPIOS;
13091310

13101311
starfive_irq_chip.parent_device = dev;
1311-
starfive_irq_chip.name = sfp->gc.label;
13121312

13131313
sfp->gc.irq.chip = &starfive_irq_chip;
13141314
sfp->gc.irq.parent_handler = starfive_gpio_irq_handler;

0 commit comments

Comments
 (0)