Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3961280imw; Mon, 11 Jul 2022 21:15:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s8Z3XTLyRkgnrvwKPmcIPEl6l+GKY0kNJp4Va1hXEeV5QIfKcaF5kCOoZu2+IBVQQ3GR+v X-Received: by 2002:a17:902:7c06:b0:16a:755f:86dd with SMTP id x6-20020a1709027c0600b0016a755f86ddmr21656854pll.82.1657599332346; Mon, 11 Jul 2022 21:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657599332; cv=none; d=google.com; s=arc-20160816; b=wImF8xKh60UCg+woipwh0WRt7M/ltLLUueyn4mSKqo871dPDWQIKJqIAqcNw+T6Py2 K7r9r/xC9f1Vf9NK3C60UeO16mh4Xg8vtRn8g90fZ9YuZreCKZpLSAY4GtWz2I/kZzko mDfCw0nWh5tOgvx7aBeh9oRhK/ZIEL9WclbkwKhMUwBinkPSE1VYowNGxun/MkpQlrgL 0sAbG+TpKeBAOCXcSLsy3jq86JeZ76S2N+77DK+j5HonZItFrY5E9HB41lWNJ1OKJXRJ OUpPNI4peYDGhK6wRtJuLyu0xqsFBQEXR+ueqX7h1xGoiChRMCzuVhs6BulifepU16mv lJDA== 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=3TakuJ+B3seJNEfaJTX3y/KwjfFKh+zV2SikvyR2rqc=; b=FbnJ9t3iLzg8iYmePmlLoGCQ0jhWbFD/2pcssPxsx2S1Sk+lN0IzszRTQLDNfM/yLZ wQKc0l08qDkzy2Mdsz/vGRsnQl+5L4GPCdjzzYyYNfh96T1/0ZWkLL5gofFwOVMNxRnY MSbqxc1mZX8l8+8jxLQeaxHSiG70cURYEhRf6O2bQ3ucbHWUQdzuQ3kVyayz5IwmF2bS GBxlvm+Lf3JHpkpyXrndmdJjGsTJO5sPw3RK3k32IuxZ69+TiIpuZZdmhgJcQikYsZUr 5INu3c4tHd0BvFiKND9+Ugqo708S8lLNGD+xUy0kXuSgkaZbsL2v5cNxrZxOyxo8Fqk7 mRiw== 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 z187-20020a6365c4000000b003fe0467a305si12239016pgb.77.2022.07.11.21.15.19; Mon, 11 Jul 2022 21:15:32 -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 S231808AbiGLD1H (ORCPT + 99 others); Mon, 11 Jul 2022 23:27:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231802AbiGLD1F (ORCPT ); Mon, 11 Jul 2022 23:27:05 -0400 Received: from out30-43.freemail.mail.aliyun.com (out30-43.freemail.mail.aliyun.com [115.124.30.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4740DD105; Mon, 11 Jul 2022 20:27:03 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R291e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VJ6X2Je_1657596411; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VJ6X2Je_1657596411) by smtp.aliyun-inc.com; Tue, 12 Jul 2022 11:27:00 +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 1/2] soc/tegra: cbb: fix platform_no_drv_owner.cocci warning Date: Tue, 12 Jul 2022 11:26:48 +0800 Message-Id: <20220712032649.98909-1-jiapeng.chong@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. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci. ./drivers/soc/tegra/cbb/tegra194-cbb.c:2344: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/tegra194-cbb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/tegra/cbb/tegra194-cbb.c b/drivers/soc/tegra/cbb/tegra194-cbb.c index e8726b90227b..1ae0bd9a1ac1 100644 --- a/drivers/soc/tegra/cbb/tegra194-cbb.c +++ b/drivers/soc/tegra/cbb/tegra194-cbb.c @@ -2341,7 +2341,6 @@ static struct platform_driver tegra194_cbb_driver = { .probe = tegra194_cbb_probe, .remove = tegra194_cbb_remove, .driver = { - .owner = THIS_MODULE, .name = "tegra194-cbb", .of_match_table = of_match_ptr(tegra194_cbb_match), .pm = &tegra194_cbb_pm, -- 2.20.1.7.g153144c