diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2022-02-26 01:00:24 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-28 13:33:49 +0000 |
commit | 728a592619cfb9be8b66600d04ef9fee9237fe7e (patch) | |
tree | 035a70d35c5f71855156bf132c91abe52fc457ed | |
parent | 5363d7304e31692f8f6da86ed7a49d3c28a2e32a (diff) | |
download | linux-stable-728a592619cfb9be8b66600d04ef9fee9237fe7e.tar.gz linux-stable-728a592619cfb9be8b66600d04ef9fee9237fe7e.tar.bz2 linux-stable-728a592619cfb9be8b66600d04ef9fee9237fe7e.zip |
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 <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20220225193054.24916-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/amd/vangogh/acp5x-mach.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/amd/vangogh/acp5x-mach.c b/sound/soc/amd/vangogh/acp5x-mach.c index f5d04c7e2a1f..16b7c3f70baf 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; |