[media] media: davinci: vpif_display: embed video_device struct in channel_obj
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Sun, 8 Mar 2015 21:57:24 +0000 (18:57 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:12:43 +0000 (18:12 -0300)
commite933c6bc67d8129d184d5add4230eb8250646cb8
tree675ac5b948388f50d1c08f32d9639c611c65e8bd
parent8eef6669d3d4a9a8694bb6703fb81bd17bb9080e
[media] media: davinci: vpif_display: 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_display.c
drivers/media/platform/davinci/vpif_display.h