lkml.org 
[lkml]   [2012]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] drivers/video/omap2/dss: use devm_ functions
From
Date
Hi,

On Tue, 2012-01-24 at 14:00 +0100, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@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.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

Thanks, this looks very good. I'll apply to omapdss tree.

Tomi

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-01-25 09:33    [W:0.027 / U:3.560 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site