diff mbox series

[-next] clk: mediatek: fix platform_no_drv_owner.cocci warnings

Message ID 20190214015616.130334-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] clk: mediatek: fix platform_no_drv_owner.cocci warnings | expand

Commit Message

Yue Haibing Feb. 14, 2019, 1:56 a.m. UTC
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/clk/mediatek/clk-mt2712.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stephen Boyd Feb. 22, 2019, 6:01 p.m. UTC | #1
Quoting YueHaibing (2019-02-13 17:56:16)
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/mediatek/clk-mt2712.c b/drivers/clk/mediatek/clk-mt2712.c
index e36f4aab634d..b09cb3d99f66 100644
--- a/drivers/clk/mediatek/clk-mt2712.c
+++ b/drivers/clk/mediatek/clk-mt2712.c
@@ -1467,7 +1467,6 @@  static struct platform_driver clk_mt2712_drv = {
 	.probe = clk_mt2712_probe,
 	.driver = {
 		.name = "clk-mt2712",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_clk_mt2712,
 	},
 };