summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-02-14 04:56:16 +0300
committerStephen Boyd <sboyd@kernel.org>2019-02-22 21:01:31 +0300
commit812296631816d31eef001078c1b14ce865f8378a (patch)
treed3549ef2ae5e68b8b2ebd60bbe9cf20ab3a33c11
parente7e6198c60566eda97655d495087fa73e1d7a1fd (diff)
downloadlinux-812296631816d31eef001078c1b14ce865f8378a.tar.xz
clk: mediatek: fix platform_no_drv_owner.cocci warnings
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> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r--drivers/clk/mediatek/clk-mt2712.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-mt2712.c b/drivers/clk/mediatek/clk-mt2712.c
index 991d4093726e..2895a5ae814d 100644
--- a/drivers/clk/mediatek/clk-mt2712.c
+++ b/drivers/clk/mediatek/clk-mt2712.c
@@ -1463,7 +1463,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,
},
};