Received: by 10.213.65.68 with SMTP id h4csp1081429imn; Sun, 18 Mar 2018 13:54:32 -0700 (PDT) X-Google-Smtp-Source: AG47ELstz6ZNC88+JIRwjGYDqKqtyEB3ZHoO4Vqf3yVQrVNAh/0vAlLFfDowVxJJMoS9VEyT815M X-Received: by 10.98.163.68 with SMTP id s65mr1445353pfe.13.1521406472659; Sun, 18 Mar 2018 13:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521406472; cv=none; d=google.com; s=arc-20160816; b=zWT8ZGoxcF95VeQTbdJHNipc9sucj+z1aM4UcaGvemejyidzDar/IOrU+eDAcsTjqQ VP8DPlWwneiUzUl3zaE1gKuvZpKUgeSGUSexpCC3goS9G4RLUcGjOoxNfo+3+/FrXeiM WOWXF1EbvmWXUCOYQRsdeNOVeynvrRDQEtbZPBsTwEOKktKHWOuESCIxRU0zJuhnIvZZ lCV5slqacty2fBEP35EVvyLEOKdyVvbbcqs8GA7dDzatsavPsu73JmOch42cz3QKOsrz VRXvaY8XhiD/XmXpFCFVJxNbIdBj+oG/CROqqUtBZ/lbBHUADMkCO/IsYz1rzIpESHRQ EyoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=1UddZqfBXNFRKkipEj86AyHtxK5HPtOxhe3UEjkdSQk=; b=VSF6JmO1ClX7CeMiG9um2C2BZqp3cdeQZDPt8RHzm68vrMOfkqfafvYGHGUeHzRRVp CGovt8plp2k8FBKGLdsJDDozmHJReotgB7kmONIDP3oWpWwJ6CzaQ+fjumH8HvufS2Rg MUZBXqIQpdEFesWFOhEDvgCv0yPJzESwJANujswVAO4etkojZV2ty2RcT5MgsF5XwlTy iOopIDOtS+ED82fb01GbGBKGBzPyFZuRaP/R+9pu5Jg3HiOKGXPVHdf2vFH85f/zRGpQ 5OhzxFk5zBU4rxufYTnRbuAKH1i3OhE4RAi5zxOK0Moool7HwcOi5flx8TwIbnA7Vy2i /CZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z189si8511073pgb.220.2018.03.18.13.54.18; Sun, 18 Mar 2018 13:54:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754513AbeCRUjZ (ORCPT + 99 others); Sun, 18 Mar 2018 16:39:25 -0400 Received: from mga03.intel.com ([134.134.136.65]:14751 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753643AbeCRUjU (ORCPT ); Sun, 18 Mar 2018 16:39:20 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2018 13:39:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,327,1517904000"; d="scan'208";a="39058872" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 18 Mar 2018 13:39:17 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1exf4E-0007p8-6u; Mon, 19 Mar 2018 04:38:10 +0800 Date: Mon, 19 Mar 2018 04:38:32 +0800 From: kbuild test robot To: David Collins Cc: kbuild-all@01.org, broonie@kernel.org, lgirdwood@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, David Collins , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, rnayak@codeaurora.org, sboyd@kernel.org Subject: [PATCH] regulator: fix platform_no_drv_owner.cocci warnings Message-ID: <20180318203832.GA74597@lkp-hsx03.lkp.intel.com> References: <71fab82672524b95632cdb588c16edfc9711866a.1521246069.git.collinsd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <71fab82672524b95632cdb588c16edfc9711866a.1521246069.git.collinsd@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fengguang Wu drivers/regulator/qcom_rpmh-regulator.c:1104: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: 835fda5b6c24 ("regulator: add QCOM RPMh regulator driver") CC: David Collins Signed-off-by: Fengguang Wu --- qcom_rpmh-regulator.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/regulator/qcom_rpmh-regulator.c +++ b/drivers/regulator/qcom_rpmh-regulator.c @@ -1101,7 +1101,6 @@ static struct platform_driver rpmh_regul .driver = { .name = "qcom-rpmh-regulator", .of_match_table = rpmh_regulator_match_table, - .owner = THIS_MODULE, }, .probe = rpmh_regulator_probe, .remove = rpmh_regulator_remove,