diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-01-05 11:38:32 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-06 15:37:43 +0000 |
commit | 0acb26a6c716ef2f8ab550475c5da4d187995cca (patch) | |
tree | 417295bf5a4e9df038ed2ec6dc40f17c530088da /sound | |
parent | a5d3f6abbf0f8be882d752da33b3e204c2d76f59 (diff) | |
download | op-kernel-dev-0acb26a6c716ef2f8ab550475c5da4d187995cca.zip op-kernel-dev-0acb26a6c716ef2f8ab550475c5da4d187995cca.tar.gz |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/mc13783.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/codecs/mc13783.c b/sound/soc/codecs/mc13783.c index 8ab9668..c2def5d 100644 --- a/sound/soc/codecs/mc13783.c +++ b/sound/soc/codecs/mc13783.c @@ -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; } |