V4L/DVB (11351): v4l: use usb_interface for v4l2_device_register
authorJanne Grunau <j@jannau.net>
Wed, 1 Apr 2009 11:30:06 +0000 (08:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:43:59 +0000 (21:43 -0300)
commit073d696d547ef933e1f0748086da785e95cb8395
tree634cc2d141f5fdf47a0cba950eadc4f28182faa5
parent6acc81c394393b853e731cc67f17ef277d521123
V4L/DVB (11351): v4l: use usb_interface for v4l2_device_register

If usb_interface.dev is used as dev parameter for v4l2_device_register
v4l2_dev.name contains the v4l driver/module name and usb device and
interface instead of a simple "usb x-y".
It also matches the recommendation to set the parent devices for usb
drivers.

Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/v4l2-framework.txt