Thread (23 messages) 23 messages, 5 authors, 2018-11-28
STALE2766d

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

From: kbuild test robot <hidden>
Date: 2018-11-27 10:42:53
Also in: linux-clk, linux-mediatek, lkml

From: kbuild test robot <redacted>

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 <redacted>
Signed-off-by: kbuild test robot <redacted>
---

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,
 	},
 };
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help