From: Cristian Ciocaltea Date: Wed, 5 Jul 2023 21:47:58 +0000 (+0300) Subject: ASoC: amd: vangogh: Make use of DRV_NAME X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a0cb05cb70b469198ad86c0b13b02cbba3ecd8fd;p=linux.git ASoC: amd: vangogh: Make use of DRV_NAME 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 Link: https://lore.kernel.org/r/20230705214800.193244-2-cristian.ciocaltea@collabora.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/amd/vangogh/acp5x-mach.c b/sound/soc/amd/vangogh/acp5x-mach.c index e5bcd1e6eb73a..5e36179cf6111 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,