Skip to contentSkip to conversation

gpio: Fix platform driver name in Kontron PLD GPIO driver

PATCH In review Michael Brunner 4 participants 4 messages Aug 9, 2013 – Aug 16, 2013 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: Fix platform driver name in Kontron PLD GPIO driver

This patch changes the driver name to be consistent with the name that is registered as cell name in the MFD driver. Otherwise the driver won't load.

---
 drivers/gpio/gpio-kempld.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-kempld.c +0 -0
index 1bdc3a2..d3ed563 100644
@@ -210,7 +210,7 @@ static int kempld_gpio_remove(struct

platform_device *pdev)

 static struct platform_driver kempld_gpio_driver = {
        .driver = {

- .name = "gpio-kempld",
+ .name = "kempld-gpio",
.owner = THIS_MODULE,
},
.probe = kempld_gpio_probe,

Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Michael Brunner

This patch changes the driver name to be consistent with the name that is registered as cell name in the MFD driver. Otherwise the driver won't load.

Quoted 18 lines
---
 drivers/gpio/gpio-kempld.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-kempld.c +1 -1
index 1bdc3a2..d3ed563 100644
@@ -210,7 +210,7 @@ static int kempld_gpio_remove(struct
 platform_device *pdev) 
 static struct platform_driver kempld_gpio_driver = {
        .driver = {
-               .name = "gpio-kempld",
+               .name = "kempld-gpio",
                .owner = THIS_MODULE,
        },
        .probe          = kempld_gpio_probe,
Acked-by on v1 1/1
#2 lore raw
In reply to Michael Brunner
Quoted 5 lines · Michael Brunner

This patch changes the driver name to be consistent with the name that is registered as cell name in the MFD driver. Otherwise the driver won't load.

Quoted 17 lines
---
 drivers/gpio/gpio-kempld.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-kempld.c +1 -1
index 1bdc3a2..d3ed563 100644
@@ -210,7 +210,7 @@ static int kempld_gpio_remove(struct
 platform_device *pdev) 
 static struct platform_driver kempld_gpio_driver = {
        .driver = {
-               .name = "gpio-kempld",
+               .name = "kempld-gpio",
                .owner = THIS_MODULE,
        },
        .probe          = kempld_gpio_probe,