From 728a592619cfb9be8b66600d04ef9fee9237fe7e Mon Sep 17 00:00:00 2001 From: Vijendar Mukunda Date: Sat, 26 Feb 2022 01:00:24 +0530 Subject: [PATCH] ASoC: amd: vg: remove warnings and errors pointed out by checkpatch pl Fix checkpatch pl errors and warnings in vangogh machine driver. Signed-off-by: Vijendar Mukunda Link: https://lore.kernel.org/r/20220225193054.24916-3-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown --- sound/soc/amd/vangogh/acp5x-mach.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/amd/vangogh/acp5x-mach.c b/sound/soc/amd/vangogh/acp5x-mach.c index f5d04c7e2a1fe..16b7c3f70baff 100644 --- a/sound/soc/amd/vangogh/acp5x-mach.c +++ b/sound/soc/amd/vangogh/acp5x-mach.c @@ -320,7 +320,6 @@ static struct snd_soc_card acp5x_card = { .num_controls = ARRAY_SIZE(acp5x_8821_controls), }; - static int acp5x_vg_quirk_cb(const struct dmi_system_id *id) { acp5x_machine_id = VG_JUPITER; @@ -350,7 +349,7 @@ static int acp5x_probe(struct platform_device *pdev) return -ENOMEM; dmi_check_system(acp5x_vg_quirk_table); - switch(acp5x_machine_id) { + switch (acp5x_machine_id) { case VG_JUPITER: card = &acp5x_card; acp5x_card.dev = &pdev->dev; -- 2.30.2