From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com. [134.134.136.65]) by gmr-mx.google.com with ESMTP id w5si1223247pbt.1.2015.09.26.07.42.59 for ; Sat, 26 Sep 2015 07:42:59 -0700 (PDT) Date: Sat, 26 Sep 2015 22:42:07 +0800 From: kbuild test robot To: Alexandre Belloni Cc: kbuild-all@01.org, Alessandro Zummo , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [rtc-linux] [PATCH] rtc: fix platform_no_drv_owner.cocci warnings Message-ID: <20150926144207.GA209151@lkp-ib03> References: <201509262245.qTOvBbXQ%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <1443275679-21459-1-git-send-email-alexandre.belloni@free-electrons.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , drivers/rtc/rtc-rv8803.c:494: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: Alexandre Belloni Signed-off-by: Fengguang Wu --- rtc-rv8803.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/rtc/rtc-rv8803.c +++ b/drivers/rtc/rtc-rv8803.c @@ -491,7 +491,6 @@ MODULE_DEVICE_TABLE(i2c, rv8803_id); static struct i2c_driver rv8803_driver = { .driver = { .name = "rtc-rv8803", - .owner = THIS_MODULE, }, .probe = rv8803_probe, .remove = rv8803_remove, -- -- 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.