Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965419AbbKEXbw (ORCPT ); Thu, 5 Nov 2015 18:31:52 -0500 Received: from mga11.intel.com ([192.55.52.93]:47911 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965307AbbKEXbj (ORCPT ); Thu, 5 Nov 2015 18:31:39 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,249,1444719600"; d="scan'208";a="843662944" Date: Fri, 6 Nov 2015 07:32:47 +0800 From: kbuild test robot To: Matthew McClintock 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 Subject: [PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings Message-ID: <20151105233247.GA66370@lkp-sb04> References: <201511060736.HU8V8VsZ%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446761276-9111-3-git-send-email-mmcclint@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 929 Lines: 28 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, }, }; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/