[media] saa7146: 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>
此提交包含在:
Hans Verkuil
2015-03-09 13:33:57 -03:00
提交者 Mauro Carvalho Chehab
父節點 093654201e
當前提交 3ae863e0db
共有 7 個檔案被更改,包括 13 行新增24 行删除

查看文件

@@ -151,8 +151,8 @@ static struct mxb_routing TEA6420_line[MXB_AUDIOS + 1][2] = {
struct mxb
{
struct video_device *video_dev;
struct video_device *vbi_dev;
struct video_device video_dev;
struct video_device vbi_dev;
struct i2c_adapter i2c_adapter;