mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 15:51:40 -04:00
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:
committed by
Mark Brown
parent
3d74f42c56
commit
a0cb05cb70
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user