From: Vijendar Mukunda Date: Fri, 25 Feb 2022 19:30:24 +0000 (+0530) Subject: ASoC: amd: vg: remove warnings and errors pointed out by checkpatch pl X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=728a592619cfb9be8b66600d04ef9fee9237fe7e;p=linux.git 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 --- 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;