Searched hist:"830 eb876" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/mxs/ |
H A D | mxs-saif.c | 830eb876 Fri Feb 10 02:17:01 CST 2012 Julia Lawall <Julia.Lawall@lip6.fr> 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> 830eb876 Fri Feb 10 02:17:01 CST 2012 Julia Lawall <Julia.Lawall@lip6.fr> 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>
|