aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-10-24 14:22:24 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-11-12 16:30:30 +0100
commitf932a68695e4c7d92e721d2c23580d9f35494662 (patch)
tree4017021420d6810bbf3d5a9320404ac355e26228 /drivers/gpio
parentgpio: em: Use proper irq_chip name (diff)
downloadlinux-dev-f932a68695e4c7d92e721d2c23580d9f35494662.tar.xz
linux-dev-f932a68695e4c7d92e721d2c23580d9f35494662.zip
gpio: rcar: Use proper irq_chip name
The irq_chip .name field should contain the device's class name, not the instance's name. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-rcar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index d7e6e68c25af..f800b250971c 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -486,7 +486,7 @@ static int gpio_rcar_probe(struct platform_device *pdev)
gpio_chip->ngpio = npins;
irq_chip = &p->irq_chip;
- irq_chip->name = name;
+ irq_chip->name = "gpio-rcar";
irq_chip->parent_device = dev;
irq_chip->irq_mask = gpio_rcar_irq_disable;
irq_chip->irq_unmask = gpio_rcar_irq_enable;