ASoC: Move kfree(twl4030) to twl4030_soc_remove()
authorAxel Lin <axel.lin@gmail.com>
Fri, 19 Nov 2010 09:31:08 +0000 (17:31 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 19 Nov 2010 12:14:47 +0000 (12:14 +0000)
As we allocate memory for twl4030 in twl4030_codec_probe(),
twl4030_codec_remove() is a better place to free the memory.

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

No differences found