[alsa-devel] [PATCH] sound/soc/mxs/mxs-saif.c: use devm_ functions

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Feb 10 21:21:13 CET 2012


On Fri, Feb 10, 2012 at 09:17:01AM +0100, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall at lip6.fr>
> 
> 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.

Applied, thanks for your persistence!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120210/6090ce54/attachment.sig 


More information about the Alsa-devel mailing list