diff options
| author | Geert Uytterhoeven <[email protected]> | 2019-10-24 12:22:23 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2019-11-12 15:30:30 +0000 |
| commit | b74f0456c120289b026701f849e0fd7de56fd2d7 (patch) | |
| tree | da15131aa2a18d74ecf9382f71fe3e1c76daad29 /drivers/gpio/gpio-em.c | |
| parent | gpio: bd70528: Add MODULE ALIAS to autoload module (diff) | |
| download | kernel-b74f0456c120289b026701f849e0fd7de56fd2d7.tar.gz kernel-b74f0456c120289b026701f849e0fd7de56fd2d7.zip | |
gpio: em: 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 <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-em.c')
| -rw-r--r-- | drivers/gpio/gpio-em.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c index 674ebebaf90b..adc281daacff 100644 --- 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; |
