commit | 830eb8767d76b058118be74deac13e5f30b67892 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Fri Feb 10 09:17:01 2012 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Feb 10 20:21:05 2012 +0000 |
tree | a4e5cd4d0d77e72a8754144ff013831d4238893e | |
parent | e2da26778c50761b16cc6e37828b37db8248f7ac [diff] |
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>