]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
gpio: Fix platform driver name in Kontron PLD GPIO driver
authorMichael Brunner <mibru@gmx.de>
Fri, 9 Aug 2013 15:33:06 +0000 (17:33 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Aug 2013 15:04:58 +0000 (17:04 +0200)
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.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Kevin Strasser <strassek@engr.orst.edu>
Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
drivers/gpio/gpio-kempld.c

index 3f5b20038af18f61e84251d9a27f35baad4da6fa..3f0e13b0595303b02dc99ea9587f7cd78c8304be 100644 (file)
@@ -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,