ASoC: wm5110: Fix up snd_soc_register_platform error path
commit0f9aa09d669b29ae536d51631bf035ad44ae0551
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 21 Jan 2016 17:52:57 +0000 (21 17:52 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 28 Jan 2016 23:31:46 +0000 (29 00:31 +0100)
treeaeaa0111e37da4fc61eb065fd082ff393737fa43
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ASoC: wm5110: Fix up snd_soc_register_platform error path

Whilst there is nothing wrong with the error path here it looks a little
bit odd, this patches makes the code a little more idiomatic.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm5110.c