From patchwork Wed Jul 5 13:43:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 116149 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1884541vqx; Wed, 5 Jul 2023 06:53:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7WEoHHMg1hqD/J9A2VPhU5nk94jmRj0T8qQGN5sYmTEm1d8jGU+1JclbNIS9NWMOvyK5Uw X-Received: by 2002:a05:6808:2387:b0:3a1:dcca:9628 with SMTP id bp7-20020a056808238700b003a1dcca9628mr18593234oib.10.1688565199404; Wed, 05 Jul 2023 06:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688565199; cv=none; d=google.com; s=arc-20160816; b=wvEW54lDQ0JpT3a7/xSLBqKvFg1l2XXwO5MlbS1BQgs1f4M4K/co3pnyuQkY1EZiSV DRIlBXTYOHAplNW839YvEEmdhO7fF60E54gOeu7rhmG2Dcp9sGz8jaEAhzWM3pWfB9FS dYUwvWSouidHrH7b78/3R5t+wuMaQqhsdYs6uSA2K+IbCyl27gwzXqs+KZH/DKoBsK64 /ArFwKraXdwsE1zZ3F0J7VPGV2d/Ebacm/oXzj+1LHeT6DTU6CZmGZxKguueJgNISBY/ EBU39fSMZgUZoi99583IB6ARrYgxu2q1ONtNeVxqaq6h4BBDc9zrXaYUoFScuDAHH3Xl dSmQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9w3xwtSer5KurbsFI2Pu2uv8APImGMRcReZnBK5W0fo=; fh=WpwulVhbj4/4SUydfqjIitCcTK++J8QA/iGpwX/VPoo=; b=kzyVnT/MXJOq5rOu7o2gB3pDLYix9OPsM9hX9AO6YHsyjV+ZJ5ruzl6DVhI4Pm+IkP ZQjMt36stFuS2hIrTnwyQSvlEuAikcdSWUw7514oxJC0m9nxT+Ol1jLj2AjqWEphWcXI uil1qaGIZZTetMca6MiOHisOKGL4iT7ycDbti1EOy241sGRXIv2VvNt4Hsew61ep19XF kWgBal6TL7NKFKTBFbOtaii7N44KZfGdWsJwdUi/1g0FaVH4985zBkm0JXG6TRHgn51j jtOktji0Zv4oUa3QAuTe/9SXvbR52NcueIKis4vuU/Q5xppXr5uXSsUMFt9kxTX0z/TO urTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZywCBNp5; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a17090a2e0b00b00261113f2843si1668946pjd.131.2023.07.05.06.53.03; Wed, 05 Jul 2023 06:53:19 -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; dkim=pass header.i=@collabora.com header.s=mail header.b=ZywCBNp5; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232123AbjGENnw (ORCPT + 99 others); Wed, 5 Jul 2023 09:43:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbjGENnu (ORCPT ); Wed, 5 Jul 2023 09:43:50 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA189E5 for ; Wed, 5 Jul 2023 06:43:49 -0700 (PDT) Received: from localhost (unknown [188.24.137.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 711FB6606FB0; Wed, 5 Jul 2023 14:43:48 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1688564628; bh=VTB4I9zZ57rcfuMONYpW7VWpXed1exZT873tCPi37oM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZywCBNp5GSeyrfKC+xwH0a4fNqw7bSAIOTfRidQahanxqberP+eTkhTIiLCn0yV8J LRJJgqFxN/m8Fqyx61ukOLsp5quivZwQOSckUQOrsMkcRkpyRnYtls1505wk6z3IWC /RhrASG5Ans9qt/Fp1JJ4dQ9rj2DoBjsLH6tecJaBsDng10jGb7UnB/NdImQraYSBt 93X+EaOivgdjo/5+8uNEkox2/J3lX4DNNDyot9NnbIX3ipkXuMsvh+0IpN+ExV2zRW VET38zRn3uJlbyUCqXMvPMxdFDnPwrlHsJ71Ogj/46j/uysBq1dK0WMPzZvQnzs0yK xSxI1AIZUy2sw== From: Cristian Ciocaltea To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Syed Saba Kareem , Vijendar Mukunda , Arnd Bergmann , Randy Dunlap , Charles Keepax , Kuninori Morimoto Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH v2 1/3] ASoC: amd: vangogh: Make use of DRV_NAME Date: Wed, 5 Jul 2023 16:43:39 +0300 Message-ID: <20230705134341.175889-2-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230705134341.175889-1-cristian.ciocaltea@collabora.com> References: <20230705134341.175889-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1770588942875351834?= X-GMAIL-MSGID: =?utf-8?q?1770588942875351834?= The "acp5x_mach" string is provided for both driver name and MODULE_ALIAS. Since they need to match, ensure DRV_NAME macro is used in both locations. Signed-off-by: Cristian Ciocaltea --- sound/soc/amd/vangogh/acp5x-mach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/amd/vangogh/acp5x-mach.c b/sound/soc/amd/vangogh/acp5x-mach.c index e5bcd1e6eb73..5e36179cf611 100644 --- a/sound/soc/amd/vangogh/acp5x-mach.c +++ b/sound/soc/amd/vangogh/acp5x-mach.c @@ -381,7 +381,7 @@ static int acp5x_probe(struct platform_device *pdev) static struct platform_driver acp5x_mach_driver = { .driver = { - .name = "acp5x_mach", + .name = DRV_NAME, .pm = &snd_soc_pm_ops, }, .probe = acp5x_probe,