From patchwork Sun Jun 25 01:05:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 112507 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp6677135vqr; Sat, 24 Jun 2023 18:14:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66zb78MlOATwEMZBYzW7NOiaJe0YxFKsdlwPNuCpCT6/wcmRw4f21/pS/6t/GwYRpnNnLV X-Received: by 2002:a05:6a00:1493:b0:668:9b2d:b534 with SMTP id v19-20020a056a00149300b006689b2db534mr22317048pfu.1.1687655678385; Sat, 24 Jun 2023 18:14:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687655678; cv=none; d=google.com; s=arc-20160816; b=AYAieLQqylxEPIWEtYmE07WqmN9T865iYcUVRd+zSvJIqQVObTvwkSOHXNSX0jF5iY ectvpsCUaXMYjUrIStOyuYa+xRue1Fa9tzaiNVbjfk6cS7LQnx3a3IC6W+lEQ85XLN9X 5Tg4pRxBbQBEmkp+rmfKL5pqMlPIYmAdk+MBrEJx43q+y9d+X2Brhtm78MSfHbwSYzZa eUQ0c19SiJUX4MDWu6QM1U/c/+/rZQTOtT8pxOdirIhptr3QHjcVuHM33jCaOA4pskpC MSe6U+TkIX2BW4ci53BAgxrpRoiIDZabVlvRmUJh9g78LRo2bE4HRcwVpYQ0rn/zE6yB 3H6g== 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=SmAwVHPDgMls/IVItoydKfR6uws73z4tBBBTEghrQ04=; fh=/IhAjfCiaPko/bJ+Eqx6bCTxA67naeg6thCfEEtM20s=; b=CHh+aZlnUGRZ/uh2SbeJo/+N/MqdPgTYQobO9+DBXGm49goUNCYLviTxH4SI9e9VRI fdo/loRPk/o0RMkJXFjlmtpUZOO9wmjhf0OB5VeUINPEsIzUoKjBtS5V2mVQIxa0mspP qKbijdCDw+Xt/Z/BY0Txcw48TjegAdHmhci3n9XObHiVUluVAKbQtr3/P0I+zysYi6R1 /h25ec4cOJyiOr1XVkcDDNeOdJOhmDyg56eVnoaSrnFE+/WW7oRPDCgu41AHuQbNoNbZ ARUi5JRQm5tIeLFNzNFkGaTah/zmT412uoN8jP5QvxderoZ4iHLI+IIIbMJGEHwp+09X 8Lkw== 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 j7-20020a056a00174700b00668873710d9si2342129pfc.162.2023.06.24.18.14.26; Sat, 24 Jun 2023 18:14:38 -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 S229919AbjFYBFz (ORCPT + 99 others); Sat, 24 Jun 2023 21:05:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjFYBFy (ORCPT ); Sat, 24 Jun 2023 21:05:54 -0400 Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DC6110E9 for ; Sat, 24 Jun 2023 18:05:52 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VlqM4JC_1687655148; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VlqM4JC_1687655148) by smtp.aliyun-inc.com; Sun, 25 Jun 2023 09:05:49 +0800 From: Yang Li To: perex@perex.cz Cc: tiwai@suse.com, broonie@kernel.org, lgirdwood@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] ASoC: tas2781: No need to set device_driver owner Date: Sun, 25 Jun 2023 09:05:47 +0800 Message-Id: <20230625010547.7353-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,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769635240591146273?= X-GMAIL-MSGID: =?utf-8?q?1769635240591146273?= Remove .owner field if calls are used which set it automatically. to silence the warning: ./sound/soc/codecs/tas2781-i2c.c:746:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5589 Signed-off-by: Yang Li --- sound/soc/codecs/tas2781-i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/tas2781-i2c.c b/sound/soc/codecs/tas2781-i2c.c index 4c59429a42b7..55cd5e3c23a5 100644 --- a/sound/soc/codecs/tas2781-i2c.c +++ b/sound/soc/codecs/tas2781-i2c.c @@ -743,7 +743,6 @@ MODULE_DEVICE_TABLE(acpi, tasdevice_acpi_match); static struct i2c_driver tasdevice_i2c_driver = { .driver = { .name = "tas2781-codec", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(tasdevice_of_match), #ifdef CONFIG_ACPI .acpi_match_table = ACPI_PTR(tasdevice_acpi_match),