From patchwork Wed Jul 5 21:47:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 116455 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2158979vqx; Wed, 5 Jul 2023 14:58:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlHbr4SaMlUMhwXDsniI7WNNpErUFHLhQjFpfOVOH0/GZIKGD/E6YH7Ed9/e3yHkXwfqHijJ X-Received: by 2002:a92:1a4f:0:b0:345:b6e8:6d54 with SMTP id z15-20020a921a4f000000b00345b6e86d54mr326626ill.31.1688594290493; Wed, 05 Jul 2023 14:58:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688594290; cv=none; d=google.com; s=arc-20160816; b=SkFDnQxl7evqxI/+svM+w3PVhYObK01D+WuhVG3rmHkBxKPQ34zwt1ti2j344ghMNI L2DJWdj+B9/7ldbgXeDnHOwRZ6gox0el8vSRQ0j+OmmnF1iDwBeV3mWJE57uaTfOElde N1Xd2VD+ZJU76mGR20+Fp81oHZLPbaDpFGgOE0hdExrMD+XBT0Avfz0ErwpBXoIR/3Nx 3b9STczGDOWxj30GzwnD5kjBgKq2/VHjZROUWgD87m2smZ/uFRP2+FtzeoWmPK+Runlh 2U2X1sNK8xR9alvFetXIe4bTc6LxAWLxcaTgVg9X0mFtPHju0NYjoudmVe3GEIzydWHT Llxg== 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=gmG2j3fnEbEDk0sbEducY5rxQYN1HUC1mHX42PqLoRdFZELh1Uc75psVZbzF3L/VRC sxm6FgxC2V1UydYmkrDPxbM4ERksCsp6RQdyY//hfz/zOh4heEYJbMtWcdXwcVa1Jly1 GeY/XbkMN7Zuwr8qoiw0zhe76lqlXiXCI7kubFsdl9gfXd0YUCLMBQL94CkaskFY3s0w pB9ZNN5aarQi7qrI62kalW4PzxRFGsK+uF24wWLOfP4wo4eZM/hXbqJ4FshR5dLyW6mi fkn4TMo+EETxJlGXWMVDQ1xLu7M9Z8J1DvStzuVW3syh9PVH4ReRD3DBRKXwPzPA7Mrk VCpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SQFVyoMK; 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 n36-20020a635924000000b0054fb23f1018si44701pgb.656.2023.07.05.14.57.56; Wed, 05 Jul 2023 14:58:10 -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=SQFVyoMK; 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 S232041AbjGEVsP (ORCPT + 99 others); Wed, 5 Jul 2023 17:48:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231561AbjGEVsK (ORCPT ); Wed, 5 Jul 2023 17:48:10 -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 C5DAE198E for ; Wed, 5 Jul 2023 14:48:09 -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 1874C6606F9F; Wed, 5 Jul 2023 22:48:08 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1688593688; bh=VTB4I9zZ57rcfuMONYpW7VWpXed1exZT873tCPi37oM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SQFVyoMKB0OqLynwIk63QP7mYFo2d0969SBpY7m2h/uP4rnElyu4enFCXc7tI6K/C 4o7881+ipfyOAHQS3a7GKwU1gyAFQuadTOmBxFLJr/yOiOYu7HJ6VNH2iLCf+GLzTX EuclGphI/aQfIhlLAI31lGha7xv6mLQlQL+Tesb77UFAtXASdISNpwZs7NNWZ3Zift WgmYcKhjAv0gz5WotbgEh+GlsNrQvFXRDLrFCpYvl/emtuS3ISDRl0Yvqg5n2FG6fW vrZLJb4AnrolDtfF3dSh7eghnPGABBHSXeSLIPTbnX3bBLzaJ66LG/9xsDqSIsnFnf m7GoKeB8MNZgg== 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 v3 1/3] ASoC: amd: vangogh: Make use of DRV_NAME Date: Thu, 6 Jul 2023 00:47:58 +0300 Message-ID: <20230705214800.193244-2-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230705214800.193244-1-cristian.ciocaltea@collabora.com> References: <20230705214800.193244-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?1770619446576776922?= X-GMAIL-MSGID: =?utf-8?q?1770619446576776922?= 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,