diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2009-11-27 11:57:15 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-15 21:17:55 -0500 |
commit | 38c7c036036c6260606a2a833aaad3794ca22499 (patch) | |
tree | 8a41bf5b665a5ba328102e802fc4c7471270b428 /drivers/media/video/stv680.c | |
parent | eac8ea536aded07004bde917f05a2329902c64b0 (diff) |
V4L/DVB (13550): v4l: Use the new video_device_node_name function
Fix all device drivers to use the new video_device_node_name function.
This also strips kernel log messages from the "/dev/" prefix, has the device
node location is a userspace policy decision unknown to the kernel.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/stv680.c')
-rw-r--r-- | drivers/media/video/stv680.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/stv680.c b/drivers/media/video/stv680.c index 6a91714125d2..b54222232cd3 100644 --- a/drivers/media/video/stv680.c +++ b/drivers/media/video/stv680.c | |||
@@ -1467,8 +1467,8 @@ static int stv680_probe (struct usb_interface *intf, const struct usb_device_id | |||
1467 | retval = -EIO; | 1467 | retval = -EIO; |
1468 | goto error_vdev; | 1468 | goto error_vdev; |
1469 | } | 1469 | } |
1470 | PDEBUG(0, "STV(i): registered new video device: video%d", | 1470 | PDEBUG(0, "STV(i): registered new video device: %s", |
1471 | stv680->vdev->num); | 1471 | video_device_node_name(stv680->vdev)); |
1472 | 1472 | ||
1473 | usb_set_intfdata (intf, stv680); | 1473 | usb_set_intfdata (intf, stv680); |
1474 | retval = stv680_create_sysfs_files(stv680->vdev); | 1474 | retval = stv680_create_sysfs_files(stv680->vdev); |