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/cpia2 | |
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/cpia2')
-rw-r--r-- | drivers/media/video/cpia2/cpia2_v4l.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cpia2/cpia2_v4l.c b/drivers/media/video/cpia2/cpia2_v4l.c index 0b4a8f309cfa..f8952af30a3c 100644 --- a/drivers/media/video/cpia2/cpia2_v4l.c +++ b/drivers/media/video/cpia2/cpia2_v4l.c | |||
@@ -1967,9 +1967,9 @@ void cpia2_unregister_camera(struct camera_data *cam) | |||
1967 | if (!cam->open_count) { | 1967 | if (!cam->open_count) { |
1968 | video_unregister_device(cam->vdev); | 1968 | video_unregister_device(cam->vdev); |
1969 | } else { | 1969 | } else { |
1970 | LOG("/dev/video%d removed while open, " | 1970 | LOG("%s removed while open, deferring " |
1971 | "deferring video_unregister_device\n", | 1971 | "video_unregister_device\n", |
1972 | cam->vdev->num); | 1972 | video_device_node_name(cam->vdev)); |
1973 | } | 1973 | } |
1974 | } | 1974 | } |
1975 | 1975 | ||