Commit a0cb05cb authored by Cristian Ciocaltea's avatar Cristian Ciocaltea Committed by Mark Brown

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: default avatarCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20230705214800.193244-2-cristian.ciocaltea@collabora.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3d74f42c
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment