Re: [PATCH 2/5] drivers/video/gbefb.c: use devm_ functions

2012-09-20 Thread Florian Tobias Schandinat
Hi Geert, On 09/13/2012 07:06 PM, Geert Uytterhoeven wrote: > On Thu, Aug 23, 2012 at 10:37 PM, Florian Tobias Schandinat > wrote: >> On 07/31/2012 04:39 PM, Damien Cassou wrote: >>> From: Damien Cassou >>> >>> The various devm_ functions allocate memory that is released when a driver >>> detach

Re: [PATCH 2/5] drivers/video/gbefb.c: use devm_ functions

2012-09-13 Thread Geert Uytterhoeven
On Thu, Aug 23, 2012 at 10:37 PM, Florian Tobias Schandinat wrote: > On 07/31/2012 04:39 PM, Damien Cassou wrote: >> From: Damien Cassou >> >> The various devm_ functions allocate memory that is released when a driver >> detaches. This patch uses these functions for data that is allocated in >>

Re: [PATCH 2/5] drivers/video/gbefb.c: use devm_ functions

2012-08-23 Thread Florian Tobias Schandinat
On 07/31/2012 04:39 PM, Damien Cassou wrote: > From: Damien Cassou > > 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 >

[PATCH 2/5] drivers/video/gbefb.c: use devm_ functions

2012-07-31 Thread Damien Cassou
From: Damien Cassou 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: Damien Cassou --- drivers/vi