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>
This commit is contained in:
Cristian Ciocaltea
2023-07-06 00:47:58 +03:00
committed by Mark Brown
parent 3d74f42c56
commit a0cb05cb70

View File

@@ -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,