mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 18:53:52 +08:00
ASoC: mc13783: Use core error messages if registration fails
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
a5d3f6abbf
commit
0acb26a6c7
@ -781,14 +781,6 @@ static int __init mc13783_codec_probe(struct platform_device *pdev)
|
||||
ret = snd_soc_register_codec(&pdev->dev, &soc_codec_dev_mc13783,
|
||||
mc13783_dai_async, ARRAY_SIZE(mc13783_dai_async));
|
||||
|
||||
if (ret)
|
||||
goto err_register_codec;
|
||||
|
||||
return 0;
|
||||
|
||||
err_register_codec:
|
||||
dev_err(&pdev->dev, "register codec failed with %d\n", ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user