[media] em28xx: 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Šī revīzija ir iekļauta:
Hans Verkuil
2015-03-09 13:34:06 -03:00
revīziju iesūtīja Mauro Carvalho Chehab
vecāks 23fb4c5ea1
revīzija d4352f3639
2 mainīti faili ar 54 papildinājumiem un 71 dzēšanām

Parādīt failu

@@ -513,9 +513,9 @@ struct em28xx_v4l2 {
struct v4l2_ctrl_handler ctrl_handler;
struct v4l2_clk *clk;
struct video_device *vdev;
struct video_device *vbi_dev;
struct video_device *radio_dev;
struct video_device vdev;
struct video_device vbi_dev;
struct video_device radio_dev;
/* Videobuf2 */
struct vb2_queue vb_vidq;