ASoC: Intel: sst_byt: remove kfree for memory allocated with devm_kzalloc
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 16 Apr 2015 13:46:29 +0000 (21:46 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 17 Apr 2015 13:34:55 +0000 (14:34 +0100)
commitd09a6b4a1412149c133a58b53f50e9c05a95e834
tree850dcc8958a9f1830e843d3bee779f8ab9fe5912
parentac98b4c015b50b1e452f8d55b612320be7f80825
ASoC: Intel: sst_byt: remove kfree for memory allocated with devm_kzalloc

It's not necessary to free memory allocated with devm_kzalloc
and using kfree leads to a double free.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/baytrail/sst-baytrail-ipc.c