[media] use v4l2_mc_usb_media_device_init() on most USB devices
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 11 Feb 2016 17:35:07 +0000 (15:35 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 16 Feb 2016 10:43:13 +0000 (08:43 -0200)
commit67873d4e751e400149df7ab61ba04cbb4cc0d449
treed6496ef23cdc30420b72866ce7ffe81dc9093489
parentbb07bd6b6851120ac9b25bb315d62d9782d2c345
[media] use v4l2_mc_usb_media_device_init() on most USB devices

Except for the usbuvc driver (with has an embedded media_device
struct on it), the other drivers have a pointer to media_device.

On those drivers, replace their own implementation for the core
one. That warrants that those subdev drivers will fill the
media_device info the same way.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-core.c
drivers/media/usb/cx231xx/cx231xx-cards.c
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
drivers/media/usb/em28xx/em28xx-cards.c
This page took 0.025886 seconds and 5 git commands to generate.