Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1055611pxb; Thu, 4 Mar 2021 01:58:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJybJSva9k6viIzUdKhTYaxHLgWxv+qCW7bymALWPaDfWh/97Yb1ia5fcBV0XgY+ZhsbQGFx X-Received: by 2002:a17:907:9863:: with SMTP id ko3mr3275468ejc.543.1614851937657; Thu, 04 Mar 2021 01:58:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614851937; cv=none; d=google.com; s=arc-20160816; b=jUr62zJdYJdmuEpqJpMPCiUSzt1w4xFDEzWz2byUv4ISCZNuRYU4e4einNKu4UKW7K ZRjeUTKKUIWjLnDk2Djh5NlNm6jErVOADzDF2/WS8Z9u3UCDKWPMkM7Xbsk/VC03I6bG ZV/FoSNoWo06FWzIwoh0Tvo0ElZNNGx1Biqns+yZ4vdt/OGPL4WygWpq64oJpL1u1tke Tp+df1IW2n2pf+bgIaP0RPpDSy+5Ak7aOtbsb4BhycOd3+HNiGBnkSW+jIw7FrrPRbAC 4tmgzEGHAHuQ8vuLqdaeHPh0hlaun5pVCpiSG2hqezKwB6QB7WQg3nZCv2D9KG1cQO1Y R27A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=5AKAbj/1A9qBh57Dns/U7UBAjHhL7PYLxOnI2ShkpAg=; b=AYUqjqsrQ+lNctOPJGkJi3FNFJHJe6bOgb6GKvgU6Qo1az8edsbjUVatxtsgYQGiL8 AKpFp9w0BNVvIbKayQHOF0YWIVqoz/IK1Z7/NSR1BzSw1QatK620zGttd2UJq+K8+UHp Fsm5xQQN+wbtB7OoPgYwRxGHtB7rYs0xMk5ocZC/p2c/X8h5rum783uy7vEsZXOfNZ1e ShlkkQwOLGnduxFsuI8xjHiV0DRVBHCgbQvclTqjVoH6TAj6x56vs7LrMXA1PdXAp49c NfA8zz/jO1Ttzms2yLArtUkrIa13b38GB1oqed2B7a6XnWWQJ27mZS403DvbhjvdDe8t V6Og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd35si13052299ejc.526.2021.03.04.01.58.35; Thu, 04 Mar 2021 01:58:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232231AbhCCP50 (ORCPT + 99 others); Wed, 3 Mar 2021 10:57:26 -0500 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:53732 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357589AbhCCLK5 (ORCPT ); Wed, 3 Mar 2021 06:10:57 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R251e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0UQDrPLL_1614762482; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UQDrPLL_1614762482) by smtp.aliyun-inc.com(127.0.0.1); Wed, 03 Mar 2021 17:08:02 +0800 From: Yang Li To: lgirdwood@gmail.com Cc: broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH] SoC: codecs: fix platform_no_drv_owner.cocci warnings Date: Wed, 3 Mar 2021 17:08:01 +0800 Message-Id: <1614762481-102466-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ./sound/soc/codecs/lpass-rx-macro.c:3588:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Reported-by: Abaci Robot Signed-off-by: Yang Li --- sound/soc/codecs/lpass-rx-macro.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/lpass-rx-macro.c b/sound/soc/codecs/lpass-rx-macro.c index c9c21d22..5b9d4e9 100644 --- a/sound/soc/codecs/lpass-rx-macro.c +++ b/sound/soc/codecs/lpass-rx-macro.c @@ -3585,7 +3585,6 @@ static int rx_macro_remove(struct platform_device *pdev) static struct platform_driver rx_macro_driver = { .driver = { .name = "rx_macro", - .owner = THIS_MODULE, .of_match_table = rx_macro_dt_match, .suppress_bind_attrs = true, }, -- 1.8.3.1