[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181127104231.GA13612@lkp-wsm-ep2>
Date: Tue, 27 Nov 2018 18:42:32 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Weiyi Lu <weiyi.lu@...iatek.com>
Cc: kbuild-all@...org, Nicolas Boichat <drinkcat@...omium.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Stephen Boyd <sboyd@...eaurora.org>,
Rob Herring <robh@...nel.org>,
James Liao <jamesjj.liao@...iatek.com>,
Fan Chen <fan.chen@...iatek.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org, linux-clk@...r.kernel.org,
srv_heupstream@...iatek.com, Weiyi Lu <weiyi.lu@...iatek.com>
Subject: [PATCH] clk: mediatek: fix platform_no_drv_owner.cocci warnings
From: kbuild test robot <fengguang.wu@...el.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@...iatek.com>
Signed-off-by: kbuild test robot <fengguang.wu@...el.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,
},
};
Powered by blists - more mailing lists