ASoC: core: fix invalid free of devm_ allocated data
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>
Sat, 16 Mar 2013 11:45:34 +0000 (13:45 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Mar 2013 10:05:56 +0000 (11:05 +0100)
commitf7ba716f1e704a00d682a8697108f9c86497c551
tree29ad6e35139a06673b4653926f649302b284a2d8
parente8b18addee32d1f389573b4c116e67ae230216ad
ASoC: core: fix invalid free of devm_ allocated data

The objects allocated by devm_* APIs are managed by devres and are freed when
the device is detached. Hence there is no need to use kfree() explicitly.

Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c