[media] media: am437x-vpfe: embed video_device struct in vpfe_device
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Sat, 7 Mar 2015 16:12:09 +0000 (13:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:10:44 +0000 (18:10 -0300)
commit8b97e0e3f437ba01efeece830817c6adddc32641
treefefff09347bf488caa09e5df2ff3681b29de8b7a
parent7d87db3df00ccc138d6243ec12eb354e9c3f48ec
[media] media: am437x-vpfe: embed video_device struct in vpfe_device

Embed video_device struct (video_dev) in vpfe_device and
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/am437x/am437x-vpfe.c
drivers/media/platform/am437x/am437x-vpfe.h