Thread (3 messages) 3 messages, 2 authors, 2012-01-25

Re: [PATCH] drivers/video/omap2/dss: use devm_ functions

From: Tomi Valkeinen <hidden>
Date: 2012-01-25 08:30:15
Also in: kernel-janitors, linux-omap, lkml

Hi,

On Tue, 2012-01-24 at 14:00 +0100, Julia Lawall wrote:
From: Julia Lawall <redacted>

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 <redacted>
Thanks, this looks very good. I'll apply to omapdss tree.

 Tomi

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help