2013-08-09 15:33:15

by Michael Brunner

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Michael Brunner <[email protected]>
---
drivers/gpio/gpio-kempld.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-kempld.c b/drivers/gpio/gpio-kempld.c
index 1bdc3a2..d3ed563 100644
--- a/drivers/gpio/gpio-kempld.c
+++ b/drivers/gpio/gpio-kempld.c
@@ -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,


2013-08-09 19:24:53

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH] gpio: Fix platform driver name in Kontron PLD GPIO driver

On Fri, Aug 09, 2013 at 05:33:06PM +0200, Michael Brunner wrote:
> 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.
>
> Signed-off-by: Michael Brunner <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> drivers/gpio/gpio-kempld.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-kempld.c b/drivers/gpio/gpio-kempld.c
> index 1bdc3a2..d3ed563 100644
> --- a/drivers/gpio/gpio-kempld.c
> +++ b/drivers/gpio/gpio-kempld.c
> @@ -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,
>

2013-08-10 22:18:34

by Kevin Strasser

[permalink] [raw]
Subject: Re: [PATCH] gpio: Fix platform driver name in Kontron PLD GPIO driver

On Fri, Aug 09, 2013 at 05:33:06PM +0200, Michael Brunner wrote:
> 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.
>
> Signed-off-by: Michael Brunner <[email protected]>

Acked-by: Kevin Strasser <[email protected]>

> ---
> drivers/gpio/gpio-kempld.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-kempld.c b/drivers/gpio/gpio-kempld.c
> index 1bdc3a2..d3ed563 100644
> --- a/drivers/gpio/gpio-kempld.c
> +++ b/drivers/gpio/gpio-kempld.c
> @@ -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,

2013-08-16 15:05:36

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] gpio: Fix platform driver name in Kontron PLD GPIO driver

On Fri, Aug 9, 2013 at 5:33 PM, Michael Brunner <[email protected]> wrote:

> 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.
>
> Signed-off-by: Michael Brunner <[email protected]>

Patch applied!

Yours,
Linus Walleij