From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] clk: mediatek: fix platform_no_drv_owner.cocci warnings Date: Tue, 27 Nov 2018 18:42:32 +0800 Message-ID: <20181127104231.GA13612@lkp-wsm-ep2> References: <20181127034254.24721-10-weiyi.lu@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20181127034254.24721-10-weiyi.lu@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org Cc: kbuild-all@01.org, Nicolas Boichat , Matthias Brugger , Stephen Boyd , Rob Herring , James Liao , Fan Chen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, srv_heupstream@mediatek.com, Weiyi Lu List-Id: linux-mediatek@lists.infradead.org From: kbuild test robot 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 Signed-off-by: kbuild test robot --- 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, }, };