From patchwork Wed Mar 3 08:54:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 12114153 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECCB2C433E0 for ; Wed, 3 Mar 2021 19:40:54 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D8B8E64EDF for ; Wed, 3 Mar 2021 19:40:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8B8E64EDF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EXUIlvXFBayqPejfO4HCW5PfSFXhfrV2I88kn7KnwVI=; b=jnw92FPFLgCCzKR3O9nryN/Mf5 lWrbg/3ryDIjw4cVoWScham/unRx51OoLYQNPJnTuJe7c06+84m4b2KBgADsu6IPjsnfyp2xxIw/e nIpTvy3Fj5PQomH+frz+pUoKQtitaUrZJeJbaxdWqV3ko11A1NnSt/sjuhcK2BvHeniUD2PwzNmtQ jFskiMaeRFk+yOdMvunE1zHmTaawzztVrSmhQyoMwMa58utYmry7tL3CdJZED9G7conMgD4ABwgif FNmX0kNITpFByTepSTLBJu81CcWZ2BIPQGsnphgncC5rQ0pvfdoO6LwGp5Vjib6FAXeHM9pnAfrc4 CAz3imWQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHXKr-006Fjo-4J; Wed, 03 Mar 2021 19:39:05 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHT3c-005I7y-BL for linux-arm-kernel@desiato.infradead.org; Wed, 03 Mar 2021 15:05:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=QaZBzgs0+RYY6hwjOAKnCjKx9E7JKX88qHOheOKfNU8=; b=TWPVhPf4Bh+xnfVeBH8JzSzuTN ACXzwnwtYERq/Fu2FOj+0rOz3gZ+VoX3uai/rdqif8rhKhAse+TJelJfeCwxccYeg4QlOptUki2Ji ksL5m61oBiTYHRYDWUbSzaQJANolXq/+KzSG82BblWAg59qbazMF6p+YxamIw4mpI96+1aoemfHvF fh1ttS9Z1MTsSc1cJ+BiMCh3hIX9+A0rA71+oqeOyxXwWK1oHzoqaEVXKtnzPHnwXwsLnL6lZ/0WC rgzEdr6LbrBxd/oTa0iY17QuUzfEiRZM2ffuCUPu+EkrCl7j3wEyrDO5u8tgiAM9xAxj/toy9Xzkf rv4UURnw==; Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]) by casper.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHNHD-001uoe-Lg for linux-arm-kernel@lists.infradead.org; Wed, 03 Mar 2021 08:54:41 +0000 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R131e4; 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=18; SR=0; TI=SMTPD_---0UQD.jdX_1614761652; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UQD.jdX_1614761652) by smtp.aliyun-inc.com(127.0.0.1); Wed, 03 Mar 2021 16:54:13 +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] ASoC: hdmi-codec: fix platform_no_drv_owner.cocci warnings Date: Wed, 3 Mar 2021 16:54:11 +0800 Message-Id: <1614761651-86898-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210303_085441_193448_9C85ADE5 X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 --- 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, },