gpio: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 Dec 2014 21:14:28 +0000 (22:14 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Jan 2015 16:23:20 +0000 (17:23 +0100)
This platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-vf610.c

index 4ee4cee832ec71a98200da9668bd6e16ee72a01f..971c73964ef1af41547c76da8778f8c42ae79e82 100644 (file)
@@ -278,7 +278,6 @@ static int vf610_gpio_probe(struct platform_device *pdev)
 static struct platform_driver vf610_gpio_driver = {
        .driver         = {
                .name   = "gpio-vf610",
-               .owner  = THIS_MODULE,
                .of_match_table = vf610_gpio_dt_ids,
        },
        .probe          = vf610_gpio_probe,