[PATCH] clk: mediatek: fix platform_no_drv_owner.cocci warnings

From: kbuild test robot
Date: Tue Nov 27 2018 - 05:42:53 EST


From: kbuild test robot <fengguang.wu@xxxxxxxxx>

drivers/clk/mediatek/clk-mt8183.c:1295:3-8: No need to set .owner here. The core will do it.

Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Fixes: 14926375ef78 ("clk: mediatek: Add MT8183 clock support")
CC: Weiyi Lu <weiyi.lu@xxxxxxxxxxxx>
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---

url: https://github.com/0day-ci/linux/commits/Weiyi-Lu/Mediatek-MT8183-clock-and-scpsys-support/20181127-114621
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next

clk-mt8183.c | 1 -
1 file changed, 1 deletion(-)

--- a/drivers/clk/mediatek/clk-mt8183.c
+++ b/drivers/clk/mediatek/clk-mt8183.c
@@ -1292,7 +1292,6 @@ static struct platform_driver clk_mt8183
.probe = clk_mt8183_probe,
.driver = {
.name = "clk-mt8183",
- .owner = THIS_MODULE,
.of_match_table = of_match_clk_mt8183,
},
};