From: Krzysztof Kozlowski Date: Fri, 10 Jul 2015 06:29:45 +0000 (+0900) Subject: soc: mediatek: Drop owner assignment from platform_driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3fd4079fe295b91cd1f4330e3c8f1e6e4618a27d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git soc: mediatek: Drop owner assignment from platform_driver platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski Acked-by: Sascha Hauer Signed-off-by: Matthias Brugger --- diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c index f432291feee9..8bc7b41b09fd 100644 --- a/drivers/soc/mediatek/mtk-pmic-wrap.c +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c @@ -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,