Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1288751pxb; Thu, 4 Mar 2021 07:50:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7/VOV4nB7AyHJB3rJpaCYXWrna3iq+6QDrqHZWWKK6v4nA0AehwMKr/wZB9NurRJP1RRr X-Received: by 2002:a05:6402:35d0:: with SMTP id z16mr5036834edc.151.1614873030655; Thu, 04 Mar 2021 07:50:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614873030; cv=none; d=google.com; s=arc-20160816; b=yARczFuGM6Ci5ar8+rGirKrQhqVGEhWoUSwz7O+ndqTlPZHlM0j09jVDXpi9QR+xLW SaUo6InlMgCWo+SSEZ0BLvC11WPxT3Rn36xNyRbj4PVYyWuvjNop07r4pnuTOcCjPzmQ yK9oTi3paUwsT85PzGh4JmqTVcl/n0MJUX3zRUVQmboKiXTZs9L8gQrHJ5hQNI7q6T9M 7fo2PvvHmaqpiod1btJ6Kg9rhkAALOnYupBH5pbIFG2btoZvEEN0QUejqVUtSxPsv1yn 76n7SkRQsHQyKyeySQA+JdUn67ntBdUi5+USYjpVGhfEKIl0uc3AU4ncg4lsxa1QBIPD ty6g== 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=nZJJa6r8I7O+UttYfBw66qMkdPLxHPiaL49MRqJCQ4I=; b=IMJ5GI+O2HKfYwadRWJIaFlAVr9g7U1/8NHmPOrAjZo4OTKJiOS9K4IIl7GGhbJSwz 8I0mPyaarO4sRBAsIbGu9A43Bsiz8ATl8DDCrLvEnQC2FftHShWm6kWo5rdmXnoOl0uk 9bx/v3xY8V1jHL6hBrx5Zk8GiQloFzcBxVMnecjo6ocZVnCtwXMDEsHrhaZSwP/12Bfk zkqhq0DK5vqU+f3uOqTJX83BN6EX0ifsGDbhWzpYfkQdHk7nuNAKdAQ1XwU+b9OrU2vO lEH25UWcBINJrXCiGYmsbHQK2ZIqG878s7+jE0nlHTSv7p/S0vujsWgPHAu44eaH+hqT JQFw== 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 g12si11269882eds.274.2021.03.04.07.50.08; Thu, 04 Mar 2021 07:50:30 -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 S237369AbhCDJJR (ORCPT + 99 others); Thu, 4 Mar 2021 04:09:17 -0500 Received: from out30-44.freemail.mail.aliyun.com ([115.124.30.44]:46799 "EHLO out30-44.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237385AbhCDJIq (ORCPT ); Thu, 4 Mar 2021 04:08:46 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=18;SR=0;TI=SMTPD_---0UQMz88a_1614848882; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UQMz88a_1614848882) by smtp.aliyun-inc.com(127.0.0.1); Thu, 04 Mar 2021 17:08:03 +0800 From: Yang Li To: timur@kernel.org Cc: nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, shengjiu.wang@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH v2] ASoC: imx-hdmi: fix platform_no_drv_owner.cocci warnings Date: Thu, 4 Mar 2021 17:08:01 +0800 Message-Id: <1614848881-29637-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/fsl/imx-hdmi.c:226: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 --- Change in v2: -use imx-hdmi instead of hdmi-codec for Subject sound/soc/fsl/imx-hdmi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/fsl/imx-hdmi.c b/sound/soc/fsl/imx-hdmi.c index dbbb761..cd0235a 100644 --- a/sound/soc/fsl/imx-hdmi.c +++ b/sound/soc/fsl/imx-hdmi.c @@ -223,7 +223,6 @@ static int imx_hdmi_probe(struct platform_device *pdev) static struct platform_driver imx_hdmi_driver = { .driver = { .name = "imx-hdmi", - .owner = THIS_MODULE, .pm = &snd_soc_pm_ops, .of_match_table = imx_hdmi_dt_ids, }, -- 1.8.3.1