From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755425AbaLHWIz (ORCPT ); Mon, 8 Dec 2014 17:08:55 -0500 Received: from mga11.intel.com ([192.55.52.93]:12641 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754075AbaLHWIy (ORCPT ); Mon, 8 Dec 2014 17:08:54 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="426644896" Date: Tue, 9 Dec 2014 06:07:30 +0800 From: kbuild test robot To: Stephen Boyd Cc: kbuild-all@01.org, Srinivas Kandagatla , Mike Turquette , linux-kernel@vger.kernel.org Subject: [PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings Message-ID: <20141208220730.GA87798@athens> References: <201412090645.oUKgIUsF%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201412090645.oUKgIUsF%fengguang.wu@intel.com> 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 drivers/clk/qcom/hfpll.c:102: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: Stephen Boyd Signed-off-by: Fengguang Wu --- hfpll.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/clk/qcom/hfpll.c +++ b/drivers/clk/qcom/hfpll.c @@ -99,7 +99,6 @@ static struct platform_driver qcom_hfpll .probe = qcom_hfpll_probe, .driver = { .name = "qcom-hfpll", - .owner = THIS_MODULE, .of_match_table = qcom_hfpll_match_table, }, };