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

2012-09-02 Thread Lars-Peter Clausen
On 08/23/2012 10:41 PM, Florian Tobias Schandinat wrote: > On 08/03/2012 03:40 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 fu

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

2012-08-23 Thread Florian Tobias Schandinat
On 08/03/2012 03:40 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 fun

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

2012-08-03 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/vid