From patchwork Fri Feb 3 01:15:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 52250 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp576288wrn; Thu, 2 Feb 2023 17:22:28 -0800 (PST) X-Google-Smtp-Source: AK7set+727K8diObDuM0q7TfwiWUJRHNP5jYrrj+2uMGQiYvTeaGmi8axD9wPuiGL2k5SngVe0zy X-Received: by 2002:a17:903:2145:b0:198:99b0:ac45 with SMTP id s5-20020a170903214500b0019899b0ac45mr6914520ple.4.1675387347722; Thu, 02 Feb 2023 17:22:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675387347; cv=none; d=google.com; s=arc-20160816; b=DD7C5P9bqpoBiOcrErp0vHtq6dDdm6MeWcBfPcPlCrbqkPc9GtQp6J/0CmahoBB9tt 1hZam+RsBK21SuFc0nMbYzs53vLfwXSwU3+43ZK61UTzgE+th5ryOdsz/K0+MVNt/CT2 gbM/jeSvTT+f+D5N4riu9Q4Yk3XqgI/DlA0WTWrrXq2ULku5NlfNLmxs1zlWT0mdf34L mo4uoCUX+z7J2WgtZqpOAJqcifSt70Pqdw+bCTZ1VSDsv3NRiILSpDEj1YMegp/D1RXK LOVbxqgHDbfMhzS/mok0gpdzYX29kouk8AI0lEuLRlQ+VSK0cRtGE36lCrgz3GQ9Csri 5YmA== 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=lbEoqH1AJQ1E6/hqRBSUXMSIk+3gfSFOS/e+YSsgAIE=; b=GMcr83Mo8sPL6LWueHBM2VUpmm2Ka2D0EwDinGS33ZxbwUrjeQ4KBBull2xhQf9r/X jX+eQyrmo0M+Y41ywEKYr/sZnR6h5e7ZtctLfoYtLnc8C9Sdr26vpG3OmvnzM/HxiYzM ht0MwDfjOpWUKz5jA8WrMCQp8TOrKjlgo3RmXsxNeKOEBaU0V3/olXZYv3sWp9iD5+wc GuMCetN9n0iarM3KiMRuBF/nPjjToTCc2DJQ8RK4S+UyYTFidgBdkS+MsgM6WeppEj/X gMhMYHuMg0mw80ACzaCxKl0enrZkVF2JU82kjoVgoRcddduaMQC7ePaFmwbRsxsglzr2 xPoA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a170902cec500b00192a9a8fffasi930760plg.183.2023.02.02.17.22.08; Thu, 02 Feb 2023 17:22:27 -0800 (PST) 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 S230047AbjBCBPM (ORCPT + 99 others); Thu, 2 Feb 2023 20:15:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbjBCBPK (ORCPT ); Thu, 2 Feb 2023 20:15:10 -0500 Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E258E6D5E5 for ; Thu, 2 Feb 2023 17:15:08 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R561e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VamSsuS_1675386905; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VamSsuS_1675386905) by smtp.aliyun-inc.com; Fri, 03 Feb 2023 09:15:06 +0800 From: Yang Li To: perex@perex.cz Cc: tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] ASoC: codecs: fix platform_no_drv_owner.cocci warning Date: Fri, 3 Feb 2023 09:15:04 +0800 Message-Id: <20230203011504.78918-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,SPF_HELO_NONE,SPF_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756770963596824021?= X-GMAIL-MSGID: =?utf-8?q?1756770963596824021?= ./sound/soc/codecs/aw88395/aw88395.c:572:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3935 Signed-off-by: Yang Li --- sound/soc/codecs/aw88395/aw88395.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/aw88395/aw88395.c b/sound/soc/codecs/aw88395/aw88395.c index bce403744c1a..16ca7ac5ad28 100644 --- a/sound/soc/codecs/aw88395/aw88395.c +++ b/sound/soc/codecs/aw88395/aw88395.c @@ -569,7 +569,6 @@ MODULE_DEVICE_TABLE(i2c, aw88395_i2c_id); static struct i2c_driver aw88395_i2c_driver = { .driver = { .name = AW88395_I2C_NAME, - .owner = THIS_MODULE, }, .probe_new = aw88395_i2c_probe, .id_table = aw88395_i2c_id,