From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings Date: Fri, 6 Nov 2015 07:32:47 +0800 Message-ID: <20151105233247.GA66370@lkp-sb04> References: <201511060736.HU8V8VsZ%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1446761276-9111-3-git-send-email-mmcclint@codeaurora.org> Sender: linux-clk-owner@vger.kernel.org Cc: kbuild-all@01.org, Andy Gross , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, Varadarajan Narayanan , linux-kernel@vger.kernel.org, qca-upstream.external@qca.qualcomm.com, Pradeep Banavathi , Senthilkumar N L , Matthew McClintock List-Id: linux-arm-msm@vger.kernel.org drivers/clk/qcom/gcc-ipq4019.c:1661: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 CC: Varadarajan Narayanan Signed-off-by: Fengguang Wu --- gcc-ipq4019.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/clk/qcom/gcc-ipq4019.c +++ b/drivers/clk/qcom/gcc-ipq4019.c @@ -1658,7 +1658,6 @@ static struct platform_driver gcc_ipq401 .remove = gcc_ipq4019_remove, .driver = { .name = "qcom,gcc-ipq4019", - .owner = THIS_MODULE, .of_match_table = gcc_ipq4019_match_table, }, };