From patchwork Fri Apr 15 10:36:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 8847121 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D67FD9F36E for ; Fri, 15 Apr 2016 10:38:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 145C320379 for ; Fri, 15 Apr 2016 10:38:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 457D720374 for ; Fri, 15 Apr 2016 10:38:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ar18p-0004YT-Rk; Fri, 15 Apr 2016 10:38:23 +0000 Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ar18X-0004Cc-9Z; Fri, 15 Apr 2016 10:38:07 +0000 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 15 Apr 2016 03:37:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,486,1455004800"; d="scan'208";a="686723564" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 15 Apr 2016 03:37:39 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1ar182-0002gl-Kk; Fri, 15 Apr 2016 18:37:34 +0800 Date: Fri, 15 Apr 2016 18:36:11 +0800 From: kbuild test robot To: Wadim Egorov Subject: [PATCH] regulator: rk808: fix platform_no_drv_owner.cocci warnings Message-ID: <20160415103611.GA101947@xian> References: <201604151850.X92LLQkG%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1460711790-22646-4-git-send-email-w.egorov@phytec.de> 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160415_033805_672758_9881A4DC X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.9 (-------) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, k.kozlowski@samsung.com, geert+renesas@glider.be, lgirdwood@gmail.com, mturquette@baylibre.com, linux-kernel@vger.kernel.org, sjoerd.simons@collabora.co.uk, alexandre.belloni@free-electrons.com, zyw@rock-chips.com, public_timo.s@silentcreek.de, lee.jones@linaro.org, linux-clk@vger.kernel.org, linux@arm.linux.org.uk, rtc-linux@googlegroups.com, javier@osg.samsung.com, linux-rockchip@lists.infradead.org, kgene@kernel.org, treding@nvidia.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, a.zummo@towertech.it, sboyd@codeaurora.org, dianders@chromium.org, broonie@kernel.org, arnd@arndb.de, kbuild-all@01.org, galak@codeaurora.org, olof@lixom.net Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/regulator/rk8xx-regulator.c:617: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: Wadim Egorov Signed-off-by: Fengguang Wu --- rk8xx-regulator.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/regulator/rk8xx-regulator.c +++ b/drivers/regulator/rk8xx-regulator.c @@ -614,7 +614,6 @@ static struct platform_driver rk8xx_regu .probe = rk8xx_regulator_probe, .driver = { .name = "rk8xx-regulator", - .owner = THIS_MODULE, }, };