Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp923769iob; Wed, 18 May 2022 16:39:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcnY+1fBXFNU0I0bk4ZvNSCYiMB1w1qzzaBMNBenZ6uMrTxly9XJlHxPFjrdRwiL/+n6Lm X-Received: by 2002:a05:6402:5409:b0:42a:a643:4eb8 with SMTP id ev9-20020a056402540900b0042aa6434eb8mr2400509edb.71.1652917170806; Wed, 18 May 2022 16:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652917170; cv=none; d=google.com; s=arc-20160816; b=nB6pmryhNkxZTq1Zr5duRiFeelH3PRgIMRjV1m9npjmTriT8FlbzRq01OCLaGs49HR vAQvNULE+3nhOCDA70dCZGNAl94ahv0f+qHbI86MYQbucHmKnx3qyovgj3l6XnNCYrhe 3uJUjT/q4qQVqWMbB9jog87vIn1YMKyeZHRQw3mJyHnm6dI5RqJ4G5mQyK1s1VDP5FLi 6qwNPpEfRXiprcUncm5ojWC6Xm6UMwPl1n1oIPleKVRdK62EkiZGz113EU3gtczVbDIt 7t9rizX8m4gyp/SOjorn5bizlNLPjEPDvuzmetfgnj7YdI4ux3pOLhxE+9Ps6GdJHUwH 7nPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=se+2DGo0jeNmp1GnpGmk/zix+poV2CVUMkoZqhvrb7Y=; b=JQiOUMXHirzkcziF6rTGpac66M52nirByWeyy/GfSi8TvKSA7je2hVNHasRgRLJFWy K53lknLfp+B3JaeDPFjOSpqRwhq6AK840dgMn/TPR5e8aSIh7zXGWi9slJ/7bYEcraG4 oyJdSB+MBaaA4SjF/adZ2u6w3Q0iFhWDU8ZgiUMFbzZYiL0AvI8Tg3Bn9baQH3BY8XTn z0brc4CfJw7go8EhxHyRWBTbGXGA8vTlvMzeGSAU44Hk4X/+R4c0HcJCVjXyRTFh5fqq FX3PM++bEmi8mzgYta9sCCwZSNRkgjtxzu0qhRXKE1SI7OlJA4iPiJQyCHkAcqL+nKOH JPXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h15-20020a056402280f00b0042ae8992a05si3438768ede.295.2022.05.18.16.39.04; Wed, 18 May 2022 16:39:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231230AbiERXYx (ORCPT + 99 others); Wed, 18 May 2022 19:24:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231221AbiERXYw (ORCPT ); Wed, 18 May 2022 19:24:52 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46B68F583; Wed, 18 May 2022 16:24:50 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VDhNW0k_1652916287; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VDhNW0k_1652916287) by smtp.aliyun-inc.com(127.0.0.1); Thu, 19 May 2022 07:24:47 +0800 From: Yang Li To: miquel.raynal@bootlin.com Cc: a.zummo@towertech.it, alexandre.belloni@bootlin.com, linux-rtc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] rtc: rzn1: fix platform_no_drv_owner.cocci warning Date: Thu, 19 May 2022 07:24:45 +0800 Message-Id: <20220518232445.79156-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove .owner field if calls are used which set it automatically. ./drivers/rtc/rtc-rzn1.c:411:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/rtc/rtc-rzn1.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-rzn1.c b/drivers/rtc/rtc-rzn1.c index 980ade8c9601..f92d1398b0f1 100644 --- a/drivers/rtc/rtc-rzn1.c +++ b/drivers/rtc/rtc-rzn1.c @@ -408,7 +408,6 @@ static struct platform_driver rzn1_rtc_driver = { .remove = rzn1_rtc_remove, .driver = { .name = "rzn1-rtc", - .owner = THIS_MODULE, .of_match_table = rzn1_rtc_of_match, }, }; -- 2.20.1.7.g153144c