ASoC: tlv320aic31xx: Don't call kfree for memory allocated by devm_kzalloc
authorAxel Lin <axel.lin@ingics.com>
Sun, 16 Mar 2014 15:06:25 +0000 (23:06 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 18 Mar 2014 12:00:27 +0000 (12:00 +0000)
commitdac7e40404a6b1e7442c01ef4c2e7e149b9627e5
treefcaaca66ee5ca485b9194386f8b4380ba751c023
parentfd218aa3e5d4ee522cbfe88ad4dd83eb891096fb
ASoC: tlv320aic31xx: Don't call kfree for memory allocated by devm_kzalloc

The kfree call is not necessary, but we need to call snd_soc_unregister_codec()
in remove().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/tlv320aic31xx.c