projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d3f6a
)
ASoC: mc13783: Use core error messages if registration fails
author
Alexander Shiyan
<shc_work@mail.ru>
Sun, 5 Jan 2014 07:38:32 +0000
(11:38 +0400)
committer
Mark Brown
<broonie@linaro.org>
Mon, 6 Jan 2014 15:37:43 +0000
(15:37 +0000)
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/mc13783.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/mc13783.c
b/sound/soc/codecs/mc13783.c
index 8ab966860224e8bc0f5362009868d008bbacd940..c2def5d188eeba16294abc41c234f19c38c4b003 100644
(file)
--- 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;
}