ASoC: core: tidyup snd_soc_register_codec() fail case
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 25 Feb 2013 08:40:09 +0000 (00:40 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Mar 2013 03:07:43 +0000 (11:07 +0800)
commitf790b94d7867fb0555f91ae920b9001b42ae38a6
tree2729c469a3c6c6dad68d87808e231179ee8096b8
parent6dbe51c251a327e012439c4772097a13df43c5b8
ASoC: core: tidyup snd_soc_register_codec() fail case

kfree() on snd_soc_register_codec() was summarized to one place.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c