[media] gadget/uvc: embed video_device
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 9 Mar 2015 16:34:08 +0000 (13:34 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 02:36:20 +0000 (23:36 -0300)
commitdbe98b30d3a0d703369fef9712482e12fc685805
tree41f5434ffe7c5e264728235f82160efe3c19df6c
parentcab9bf11f8ef433151a15b9519e3e0a56302c9a4
[media] gadget/uvc: embed video_device

Embed the video_device struct to simplify the error handling and in
order to (eventually) get rid of video_device_alloc/release.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/usb/gadget/function/f_uvc.c
drivers/usb/gadget/function/uvc.h