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)
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>

No differences found