[media] sta2x11: embed video_device
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 9 Mar 2015 16:34:04 +0000 (13:34 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 02:56:44 +0000 (23:56 -0300)
commit4db4ca7450f97c300ebf74f5dca69015ad0d5ed3
tree9185f5540400ebe8049f0273965d96364c6bb227
parentd079f99f00f75065feb0c33cd7c7b8e4d224d3c9
[media] sta2x11: 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: Federico Vaga <federico.vaga@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/sta2x11/sta2x11_vip.c