Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3943756imw; Mon, 11 Jul 2022 20:40:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tVpP7El40JtJVJ7EYFcWvnppq9D2dZVNQFFspebBGWmi/pqw1U/+4s/73fqYayWtYLyGnt X-Received: by 2002:a17:907:2888:b0:72b:4a91:b21a with SMTP id em8-20020a170907288800b0072b4a91b21amr11303714ejc.35.1657597258149; Mon, 11 Jul 2022 20:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657597258; cv=none; d=google.com; s=arc-20160816; b=UxNfiHSszZPPEoYKhk/hI9cOWXQMNk9ogweMfrSCr3QbWZ/IRY/EckoDMfLov9wYLy C881jRFLCzQx1NvkD2nT91Jrk7MGDZfZmAAh8/nomGaS5TLff920IqLCReJR16EzEDoL cdY3Pysaja5t5mONVOU7KvE9lqystXhYqtpFMv2QXw0gH9HS1CIoCmpx8ltdkSJAKacZ VyjDBtAbs57wanDDFmpAi+67QRP0Ozq+QbXW42f+pwl6ntO460D5Dz6bUcwjUZHNmCet 4pnWo6UOvsujnVgA5Bub0sFVmlpgZVM4rrMrPCJdPGkkCO0QFS4hgbH5YignEnZ3awlQ fXPw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=wb2p9uL9sqLxP4W2DUmrBGvH2ynzGXt93GDyAv0R/2U=; b=ZmKRd0Op4ugbpP8uzL1LiU1E3nrIfSg6K3r+ZyrH7rLUyrK1PMQ9qDdE3uiKodJaa2 YoFJT/KO/hNbIiTYP+vhj6yi0RF6B0vkPlBqBSTDbv47RGOQvSLsLDgaArsKEpOWoBeN +lk/73aux4+IAcwV3bqvkSImFkoF45WFv5EzzBpHje1vSwviima358WP1j8Ca49evXt5 PHGeVIbtPKJJUo2TsY43gBayBvepXa65Sbmpfh98h2wv6RT2PSW/TQG/RzuLZ+MqFEm9 5YfX/1/za+Rfv81URUah0BUXziHlNPvAP7EDuf+ykNqCxLi5th4BLrAhwJ59Gc51B8/8 mrgg== 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 qw40-20020a1709066a2800b0072b5895f57bsi6518555ejc.12.2022.07.11.20.40.33; Mon, 11 Jul 2022 20:40:58 -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 S231893AbiGLD1M (ORCPT + 99 others); Mon, 11 Jul 2022 23:27:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231802AbiGLD1J (ORCPT ); Mon, 11 Jul 2022 23:27:09 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 889488FD5C; Mon, 11 Jul 2022 20:27:08 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R771e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VJ6bSV5_1657596423; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VJ6bSV5_1657596423) by smtp.aliyun-inc.com; Tue, 12 Jul 2022 11:27:05 +0800 From: Jiapeng Chong To: thierry.reding@gmail.com Cc: jonathanh@nvidia.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 2/2] soc/tegra: cbb: fix platform_no_drv_owner.cocci warnings Date: Tue, 12 Jul 2022 11:26:49 +0800 Message-Id: <20220712032649.98909-2-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20220712032649.98909-1-jiapeng.chong@linux.alibaba.com> References: <20220712032649.98909-1-jiapeng.chong@linux.alibaba.com> 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. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci ./drivers/soc/tegra/cbb/tegra234-cbb.c:1093:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/soc/tegra/cbb/tegra234-cbb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/tegra/cbb/tegra234-cbb.c b/drivers/soc/tegra/cbb/tegra234-cbb.c index 8bae8166732c..3528f9e15d5c 100644 --- a/drivers/soc/tegra/cbb/tegra234-cbb.c +++ b/drivers/soc/tegra/cbb/tegra234-cbb.c @@ -1090,7 +1090,6 @@ static struct platform_driver tegra234_cbb_driver = { .probe = tegra234_cbb_probe, .remove = tegra234_cbb_remove, .driver = { - .owner = THIS_MODULE, .name = "tegra234-cbb", .of_match_table = tegra234_cbb_dt_ids, .acpi_match_table = tegra241_cbb_acpi_ids, -- 2.20.1.7.g153144c