[media] bttv-driver, usbvision-video: use to_video_device()
authorGeliang Tang <geliangtang@163.com>
Tue, 22 Dec 2015 15:38:04 +0000 (13:38 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 09:36:48 +0000 (07:36 -0200)
commit03c6bdfc65f157f2de4cc98926fc26778b28b0d1
treeb0accf69bdb4e620d65f51fc662f33b8469f2f6a
parent80fa4f07fd6d33500b26275a5405d5b49cf2ff6a
[media] bttv-driver, usbvision-video: use to_video_device()

Use to_video_device() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/bt8xx/bttv-driver.c
drivers/media/usb/usbvision/usbvision-video.c