Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2382285pxj; Mon, 31 May 2021 00:16:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUDeJHCy1P1D7YHc+AuJhEghMMLMLBDTXB/4OzP88/8vnhtavQffYQXbVMrZ1928lzN/Gr X-Received: by 2002:a17:906:365a:: with SMTP id r26mr12511685ejb.340.1622445380436; Mon, 31 May 2021 00:16:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622445380; cv=none; d=google.com; s=arc-20160816; b=PAlyg1GeEiCnp11M1ZVBvWWOdgS4CTnHQV2YQEsS0OJ7dNR3e6NrkCuuvRM8C8n6S4 sFkWSor2zlASuGgzxo6TNrbtOEy/90GQKZxHBQK7JJ6+tW5t+IE+YuZ1Qb7v9NGfvfgY V8m0B0IlRo61NeDCH9KFyciUcuaf2DUHdmYwgGBxdsBP7AXprs4E5DpnHdVUzVR5qmzA RojLIE1fjUk/tLEg4P5vF0qQEQyGft6maQTzTc2D+054O8OBpVHTRmxoNiB/+nmt470z wJHwUww+sdMMuoju6xwUxXOgiwZzjauwgs/aWs4TPHjujVXEM93LzLMMfHWr+k7wbYJu z+ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cCshEX+xv/4SLU2fpFIKz4mOrOPFgrWQEiDI3gvxWCU=; b=h9gAfZhDF3NzymeEpBrAGZEi3ID/f2SABugLUeTqehj2teVV6UUwi1fKuZBJu50+LO W+077aIxQDXllJDDPlUwhevPUD6mvzm4BXQHLHo+cQg5rwgrtUTVb3TwM12dCx3V+D+a xZY/+j53ma2nEq86QhpWXkTqrO+QC1POszx+hBfSH+9ylYinsFAZJXOqqqpudxt89wdI tqpe1ezD6uwaEPflAg28SxOxgKR0xK0I9JUs7zQP/hqG6ogBeZtVUMuGQ1ahbPYzcxtD rLxyiJWIuspwf6zEa/9iuu7TrDvPNusqUI5HbwdrAGvinSZIhtDRk5j9leuLUMeKfWWA zfxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KsJ+LNsM; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt12si13019207ejb.669.2021.05.31.00.15.58; Mon, 31 May 2021 00:16:20 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KsJ+LNsM; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230197AbhEaHQg (ORCPT + 99 others); Mon, 31 May 2021 03:16:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230135AbhEaHQg (ORCPT ); Mon, 31 May 2021 03:16:36 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED36EC061574 for ; Mon, 31 May 2021 00:14:56 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id d12so1750827qtq.4 for ; Mon, 31 May 2021 00:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cCshEX+xv/4SLU2fpFIKz4mOrOPFgrWQEiDI3gvxWCU=; b=KsJ+LNsMU7c4m6OF9/SQ64CxWH3Mtnf0VOMuFU3UOZVpbTxN5pOi+NXIzz2IJBVX8h VpuOk1e3s9DXPsVcQVtRLBXvGKSR6sjzvD3aCtH8qI5hg6jgYk/3YfuSroi7tybw9Deo IU9xXAxq+hLd7cKb3eRWra77WTIEQwfpix6LS3STrUpyv+cEog5iV06hMuuXZ7FiRDgO m5BCLsddtVkB6l+pRSBObY6dQaz85QMfRD3gqCfXCyOtezDOZVVav/SqxEX+LAp3bTX1 mCEptSvETYOWh626Dxji0xnZbsJn+n2f4/ZcFNkuXvCsj3axiRxVBN6y2yG5FNQfOZWE AVIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cCshEX+xv/4SLU2fpFIKz4mOrOPFgrWQEiDI3gvxWCU=; b=po/RaEnLjONCBhV2xcahwJz9AsI5yuVuCx67xlYAO+ddEPdVo8/IfJDAPHQUCPu3vq x/RXv3RNgUzIKhqPsgq/rtcxqVaMjsMDTPVgnDk0XnIyR0/rrtQ0xKMqo9v7g+nE/+an PtQaSyUvOLfgMD6a6oCnYBJ+VTFuE8dR2dKm9N1A/ReQcUfdJzvsWO+EA42rvlYG/6EX TniTS+nd9NjoY7u5zYtPcrK3D22RpsPLM8CQxWqPc28MjjQmGraB1n3KT62ErSXaSfw6 AM3eKnsld07a94VEPAZIZUVD69zRMAZBBuwH71vVyWQ//BH7woH2oGO4KVL7Nl3loF7y CGOw== X-Gm-Message-State: AOAM5305OzvDQb+apMNtYKKibz2izKpyBe2Re2QDPfKw0mgH+C21hXMX P8FbL/KAzMWMdH59XnJaqE23aE4E0jmQ7U1p/f8= X-Received: by 2002:ac8:570a:: with SMTP id 10mr13619650qtw.360.1622445296129; Mon, 31 May 2021 00:14:56 -0700 (PDT) MIME-Version: 1.0 References: <1622113652-56646-1-git-send-email-zou_wei@huawei.com> In-Reply-To: <1622113652-56646-1-git-send-email-zou_wei@huawei.com> From: Shengjiu Wang Date: Mon, 31 May 2021 15:14:45 +0800 Message-ID: Subject: Re: [PATCH -next] ASoC: imx-rpmsg: fix platform_no_drv_owner.cocci warnings To: Zou Wei Cc: Timur Tabi , Nicolin Chen , Xiubo Li , Fabio Estevam , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Shawn Guo , Sascha Hauer , Sascha Hauer , NXP Linux Team , linuxppc-dev , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 27, 2021 at 6:48 PM Zou Wei wrote: > > ./sound/soc/fsl/imx-rpmsg.c:140:3-8: No need to set .owner here. The core will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei Acked-by: Shengjiu Wang > --- > sound/soc/fsl/imx-rpmsg.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/sound/soc/fsl/imx-rpmsg.c b/sound/soc/fsl/imx-rpmsg.c > index 5a9a470..f0cae8c 100644 > --- a/sound/soc/fsl/imx-rpmsg.c > +++ b/sound/soc/fsl/imx-rpmsg.c > @@ -137,7 +137,6 @@ static int imx_rpmsg_probe(struct platform_device *pdev) > static struct platform_driver imx_rpmsg_driver = { > .driver = { > .name = "imx-audio-rpmsg", > - .owner = THIS_MODULE, > .pm = &snd_soc_pm_ops, > }, > .probe = imx_rpmsg_probe, > -- > 2.6.2 >