Re: [PATCH 3/5] drivers/video/cobalt_lcdfb.c: use devm_ functions

2012-08-23 Thread Florian Tobias Schandinat
On 07/31/2012 01:54 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 3/5] drivers/video/cobalt_lcdfb.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