summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2020-09-22 10:51:05 +0300
committerStephen Boyd <sboyd@kernel.org>2020-09-22 22:56:59 +0300
commita2618360abd7dfebe18862860fcc44787874528e (patch)
treeb4fa157162e6e088731a384535bcf5b8b4fa324b /drivers/clk
parentb37c1e673ec550d4b5ce03d20b32076bf7b520c4 (diff)
downloadlinux-a2618360abd7dfebe18862860fcc44787874528e.tar.xz
clk: mediatek: fix platform_no_drv_owner.cocci warnings
./drivers/clk/mediatek/clk-mt6765.c:912: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: 1aca9939bf72 ("clk: mediatek: Add MT6765 clock support") Signed-off-by: Zou Wei <zou_wei@huawei.com> Link: https://lore.kernel.org/r/1600761065-71353-1-git-send-email-zou_wei@huawei.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/mediatek/clk-mt6765.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-mt6765.c b/drivers/clk/mediatek/clk-mt6765.c
index db8db1b3b79d..d77ea5aff292 100644
--- a/drivers/clk/mediatek/clk-mt6765.c
+++ b/drivers/clk/mediatek/clk-mt6765.c
@@ -909,7 +909,6 @@ static struct platform_driver clk_mt6765_drv = {
.probe = clk_mt6765_probe,
.driver = {
.name = "clk-mt6765",
- .owner = THIS_MODULE,
.of_match_table = of_match_clk_mt6765,
},
};