From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com. [192.55.52.88]) by gmr-mx.google.com with ESMTP id jj4si9994062pac.2.2016.01.07.07.57.43 for ; Thu, 07 Jan 2016 07:57:43 -0800 (PST) Date: Thu, 7 Jan 2016 23:56:19 +0800 From: kbuild test robot To: Laxman Dewangan Cc: kbuild-all@01.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linus.walleij@linaro.org, gnurou@gmail.com, lee.jones@linaro.org, broonie@kernel.org, a.zummo@towertech.it, alexandre.belloni@free-electrons.com, lgirdwood@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, rtc-linux@googlegroups.com, swarren@nvidia.com, treding@nvidia.com, Laxman Dewangan , Chaitanya Bandi , Mallikarjun Kasoju Subject: [rtc-linux] [PATCH] mfd: max77620: fix platform_no_drv_owner.cocci warnings Message-ID: <20160107155619.GA88818@lkp-hsx03> References: <201601072308.7XP0yi7D%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <1452177524-23192-3-git-send-email-ldewangan@nvidia.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , drivers/mfd/max77620.c:900: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: Laxman Dewangan Signed-off-by: Fengguang Wu --- max77620.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/mfd/max77620.c +++ b/drivers/mfd/max77620.c @@ -897,7 +897,6 @@ static const struct dev_pm_ops max77620_ static struct i2c_driver max77620_driver = { .driver = { .name = "max77620", - .owner = THIS_MODULE, .pm = &max77620_pm_ops, .of_match_table = max77620_of_match, }, -- -- 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.