soc: mediatek: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:29:45 +0000 (15:29 +0900)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 10 Jul 2015 14:38:44 +0000 (16:38 +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>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c

index f432291feee91e4b7c7b5ce3cc84f3b130933309..8bc7b41b09fd218bb0e540933c1c07be95005dcb 100644 (file)
@@ -926,7 +926,6 @@ err_out1:
 static struct platform_driver pwrap_drv = {
        .driver = {
                .name = "mt-pmic-pwrap",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(of_pwrap_match_tbl),
        },
        .probe = pwrap_probe,