projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd84f28
)
gpio: em: Use proper irq_chip name
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Thu, 24 Oct 2019 12:22:23 +0000
(14:22 +0200)
committer
Bartosz Golaszewski
<bgolaszewski@baylibre.com>
Tue, 12 Nov 2019 15:30:30 +0000
(16:30 +0100)
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>
drivers/gpio/gpio-em.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-em.c
b/drivers/gpio/gpio-em.c
index
674ebeb
..
adc281d
100644
(file)
--- a/
drivers/gpio/gpio-em.c
+++ b/
drivers/gpio/gpio-em.c
@@
-322,7
+322,7
@@
static int em_gio_probe(struct platform_device *pdev)
gpio_chip->ngpio = ngpios;
irq_chip = &p->irq_chip;
- irq_chip->name =
name
;
+ irq_chip->name =
"gpio-em"
;
irq_chip->irq_mask = em_gio_irq_disable;
irq_chip->irq_unmask = em_gio_irq_enable;
irq_chip->irq_set_type = em_gio_irq_set_type;