[PATCH] [media] gspca: replaced static allocation by video_device_alloc/video_device_release

2011-11-19 Thread Ezequiel
Pushed video_device initialization into a separate function. Replaced static allocation of struct video_device by video_device_alloc/video_device_release usage. Signed-off-by: Ezequiel Garcia --- diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 881e04c..

Re: [PATCH] [media] gspca: replaced static allocation by video_device_alloc/video_device_release

2011-11-19 Thread Hans de Goede
Hi, On 11/19/2011 07:50 PM, Ezequiel wrote: Pushed video_device initialization into a separate function. Replaced static allocation of struct video_device by video_device_alloc/video_device_release usage. NACK! I see a video_device_release call here, but not a video_device_alloc, also you're m

Re: [PATCH] [media] gspca: replaced static allocation by video_device_alloc/video_device_release

2011-11-19 Thread Ezequiel
On Sat, Nov 19, 2011 at 08:20:22PM +0100, Hans de Goede wrote: > Hi, > > On 11/19/2011 07:50 PM, Ezequiel wrote: > > Pushed video_device initialization into a separate function. > > Replaced static allocation of struct video_device by > > video_device_alloc/video_device_release usage. > > NACK! I