未验证 提交 728a5926 编写于 作者: V Vijendar Mukunda 提交者: Mark Brown

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: NVijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20220225193054.24916-3-Vijendar.Mukunda@amd.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 5363d730
...@@ -320,7 +320,6 @@ static struct snd_soc_card acp5x_card = { ...@@ -320,7 +320,6 @@ static struct snd_soc_card acp5x_card = {
.num_controls = ARRAY_SIZE(acp5x_8821_controls), .num_controls = ARRAY_SIZE(acp5x_8821_controls),
}; };
static int acp5x_vg_quirk_cb(const struct dmi_system_id *id) static int acp5x_vg_quirk_cb(const struct dmi_system_id *id)
{ {
acp5x_machine_id = VG_JUPITER; acp5x_machine_id = VG_JUPITER;
...@@ -350,7 +349,7 @@ static int acp5x_probe(struct platform_device *pdev) ...@@ -350,7 +349,7 @@ static int acp5x_probe(struct platform_device *pdev)
return -ENOMEM; return -ENOMEM;
dmi_check_system(acp5x_vg_quirk_table); dmi_check_system(acp5x_vg_quirk_table);
switch(acp5x_machine_id) { switch (acp5x_machine_id) {
case VG_JUPITER: case VG_JUPITER:
card = &acp5x_card; card = &acp5x_card;
acp5x_card.dev = &pdev->dev; acp5x_card.dev = &pdev->dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册