[media] media: davinci: vpif_capture: embed video_device struct in channel_obj
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Sun, 8 Mar 2015 21:57:23 +0000 (18:57 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:11:54 +0000 (18:11 -0300)
commit8eef6669d3d4a9a8694bb6703fb81bd17bb9080e
treeaadb94f271f88598a3f00a325d2774ab0258af6e
parentafb7a966b54600d678f57535be6e5ef3156f04f1
[media] media: davinci: vpif_capture: embed video_device struct in channel_obj

Embed video_device struct (video_dev) in channel_obj and also the
Unregister path doesn't need to free the video_device structure,
hence, change the video_device.release callback point to
video_device_release_empty.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/davinci/vpif_capture.c
drivers/media/platform/davinci/vpif_capture.h