Skip to content

Commit 64fd52a

Browse files
Marc Zyngierlinusw
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 <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent e9f7b92 commit 64fd52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)