ASoC:: remove a redundant snd_soc_unregister_codec call in wm8988_register
authorAxel Lin <axel.lin@gmail.com>
Wed, 14 Jul 2010 11:06:07 +0000 (19:06 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 14 Jul 2010 19:12:31 +0000 (20:12 +0100)
commitcecb66fddf2a3deb44da1f741b6734a785df7957
tree63d7cca82c4f19a41205c08f643ff7ed60a56964
parentc555b028f12e92c1de9cf5de0ef5886779590222
ASoC:: remove a redundant snd_soc_unregister_codec call in wm8988_register

snd_soc_unregister_codec is called twice if snd_soc_register_dai fail.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8988.c