Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755750AbaLHWWh (ORCPT ); Mon, 8 Dec 2014 17:22:37 -0500 Received: from mga02.intel.com ([134.134.136.20]:8340 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755591AbaLHWWc (ORCPT ); Mon, 8 Dec 2014 17:22:32 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,540,1413270000"; d="scan'208";a="620647189" Date: Tue, 9 Dec 2014 06:21:15 +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: <20141208222115.GA83312@athens> References: <201412090635.301ctah3%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201412090635.301ctah3%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/kpss-xcc.c:89: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 --- kpss-xcc.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/clk/qcom/kpss-xcc.c +++ b/drivers/clk/qcom/kpss-xcc.c @@ -86,7 +86,6 @@ static struct platform_driver kpss_xcc_d .driver = { .name = "kpss-xcc", .of_match_table = kpss_xcc_match_table, - .owner = THIS_MODULE, }, }; module_platform_driver(kpss_xcc_driver); -- 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/