diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-02-10 09:17:01 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-10 20:21:05 +0000 |
commit | 830eb8767d76b058118be74deac13e5f30b67892 (patch) | |
tree | a4e5cd4d0d77e72a8754144ff013831d4238893e /sound/soc/codecs/wm8993.c | |
parent | e2da26778c50761b16cc6e37828b37db8248f7ac (diff) | |
download | linux-830eb8767d76b058118be74deac13e5f30b67892.tar.bz2 |
ASoC: mxs-saif: use devm_ functions
The various devm_ functions allocate memory that is released when a driver
detaches. This patch uses these functions for data that is allocated in
the probe function of a platform device and is only freed in the remove
function.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8993.c')
0 files changed, 0 insertions, 0 deletions