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

kbuild test robot
2018-11-27T10:42:32Z

From: kbuild test robot <fengguang.wu@intel.com>

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@mediatek.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---

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,
},
};