gpio: arizona: drop owner assignment from platform_drivers
authorVarka Bhadram <varkabhadram@gmail.com>
Tue, 31 Mar 2015 04:19:10 +0000 (09:49 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Apr 2015 07:54:17 +0000 (09:54 +0200)
This driver no need to set the owner field, it will be populated
by driver core.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-arizona.c

index fe369f5..ab35038 100644 (file)
@@ -155,7 +155,6 @@ static int arizona_gpio_remove(struct platform_device *pdev)
 
 static struct platform_driver arizona_gpio_driver = {
        .driver.name    = "arizona-gpio",
-       .driver.owner   = THIS_MODULE,
        .probe          = arizona_gpio_probe,
        .remove         = arizona_gpio_remove,
 };