OSDN Git Service

ASoC: amd: vg: remove warnings and errors pointed out by checkpatch pl
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Fri, 25 Feb 2022 19:30:24 +0000 (01:00 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 13:33:49 +0000 (13:33 +0000)
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>
sound/soc/amd/vangogh/acp5x-mach.c

index f5d04c7..16b7c3f 100644 (file)
@@ -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;