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/se401.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/se401.c')
-rw-r--r-- | drivers/media/video/se401.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/se401.c b/drivers/media/video/se401.c index 85ffc2cba039..41d0166c0f95 100644 --- a/drivers/media/video/se401.c +++ b/drivers/media/video/se401.c | |||
@@ -1428,8 +1428,8 @@ static int se401_probe(struct usb_interface *intf, | |||
1428 | err("video_register_device failed"); | 1428 | err("video_register_device failed"); |
1429 | return -EIO; | 1429 | return -EIO; |
1430 | } | 1430 | } |
1431 | dev_info(&intf->dev, "registered new video device: video%d\n", | 1431 | dev_info(&intf->dev, "registered new video device: %s\n", |
1432 | se401->vdev.num); | 1432 | video_device_node_name(&se401->vdev)); |
1433 | 1433 | ||
1434 | usb_set_intfdata(intf, se401); | 1434 | usb_set_intfdata(intf, se401); |
1435 | return 0; | 1435 | return 0; |