From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 15 Apr 2016 18:36:11 +0800 From: kbuild test robot To: Wadim Egorov Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, rtc-linux@googlegroups.com, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, mturquette@baylibre.com, sboyd@codeaurora.org, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, a.zummo@towertech.it, alexandre.belloni@free-electrons.com, dianders@chromium.org, zyw@rock-chips.com, arnd@arndb.de, k.kozlowski@samsung.com, javier@osg.samsung.com, kgene@kernel.org, olof@lixom.net, geert+renesas@glider.be, sjoerd.simons@collabora.co.uk, treding@nvidia.com, public_timo.s@silentcreek.de 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-Type: text/plain; charset=us-ascii In-Reply-To: <1460711790-22646-4-git-send-email-w.egorov@phytec.de> List-ID: 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, }, }; From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mga14.intel.com (mga14.intel.com. [192.55.52.115]) by gmr-mx.google.com with ESMTP id tu5si4529847pab.2.2016.04.15.03.37.44 for ; Fri, 15 Apr 2016 03:37:45 -0700 (PDT) Date: Fri, 15 Apr 2016 18:36:11 +0800 From: kbuild test robot To: Wadim Egorov Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, rtc-linux@googlegroups.com, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, mturquette@baylibre.com, sboyd@codeaurora.org, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, a.zummo@towertech.it, alexandre.belloni@free-electrons.com, dianders@chromium.org, zyw@rock-chips.com, arnd@arndb.de, k.kozlowski@samsung.com, javier@osg.samsung.com, kgene@kernel.org, olof@lixom.net, geert+renesas@glider.be, sjoerd.simons@collabora.co.uk, treding@nvidia.com, public_timo.s@silentcreek.de Subject: [rtc-linux] [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-Type: text/plain; charset=UTF-8 In-Reply-To: <1460711790-22646-4-git-send-email-w.egorov@phytec.de> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 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, }, }; -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: lkp@intel.com (kbuild test robot) Date: Fri, 15 Apr 2016 18:36:11 +0800 Subject: [PATCH] regulator: rk808: fix platform_no_drv_owner.cocci warnings In-Reply-To: <1460711790-22646-4-git-send-email-w.egorov@phytec.de> References: <201604151850.X92LLQkG%fengguang.wu@intel.com> Message-ID: <20160415103611.GA101947@xian> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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, }, };