summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd
diff options
context:
space:
mode:
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>2023-07-06 00:47:58 +0300
committerMark Brown <broonie@kernel.org>2023-07-09 22:47:55 +0100
commita0cb05cb70b469198ad86c0b13b02cbba3ecd8fd (patch)
tree904f0723ca96af41e4e8bf4bffad77145732adf7 /sound/soc/amd
parent3d74f42c56db263e82ad96f8fe23aef38cdc071f (diff)
downloadlinux-stable-a0cb05cb70b469198ad86c0b13b02cbba3ecd8fd.tar.gz
linux-stable-a0cb05cb70b469198ad86c0b13b02cbba3ecd8fd.tar.bz2
linux-stable-a0cb05cb70b469198ad86c0b13b02cbba3ecd8fd.zip
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 <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20230705214800.193244-2-cristian.ciocaltea@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r--sound/soc/amd/vangogh/acp5x-mach.c2
1 files changed, 1 insertions, 1 deletions
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,