[media] zr364xx: embed video_device and register it at the end of probe
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 2 Jun 2012 09:32:48 +0000 (06:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Jun 2012 14:23:09 +0000 (11:23 -0300)
commit2b99251f17b997f96525c250a08b970a6e4447a6
tree714959ab55ca15878f56f5b71f428914e64505ab
parentf7dd6c247f4318c47677a659dbb4622cc5da0690
[media] zr364xx: embed video_device and register it at the end of probe

Embed the video_device struct instead of allocating it and register it as
the last thing in probe().

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zr364xx.c