pinctrl: sirf: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:27:30 +0000 (15:27 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2015 13:15:12 +0000 (15:15 +0200)
platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sirf/pinctrl-atlas7.c

index 9384e0aa399603b6f0348d342d4fd264c18172ea..d6e80fe1c7f7911d9c4c82cabeda30ec6b79015d 100644 (file)
@@ -4621,7 +4621,6 @@ failed:
 static struct platform_driver atlas7_gpio_driver = {
        .driver = {
                .name = "atlas7-gpio",
-               .owner = THIS_MODULE,
                .of_match_table = atlas7_gpio_ids,
        },
        .probe = atlas7_gpio_probe,