Re: [PATCH 2/5] drivers/video/bfin-t350mcqb-fb.c: use devm_ functions

2012-07-31 Thread Damien Cassou
On Tue, Jul 31, 2012 at 3:57 PM, Mike Frysinger wrote: > On Tue, Jul 31, 2012 at 9:54 AM, Damien Cassou wrote: >> 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 platf

Re: [PATCH 2/5] drivers/video/bfin-t350mcqb-fb.c: use devm_ functions

2012-07-31 Thread Mike Frysinger
On Tue, Jul 31, 2012 at 9:54 AM, Damien Cassou wrote: > 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. Acked

[PATCH 2/5] drivers/video/bfin-t350mcqb-fb.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