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/omap24xxcam.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/omap24xxcam.c')
-rw-r--r-- | drivers/media/video/omap24xxcam.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/omap24xxcam.c b/drivers/media/video/omap24xxcam.c index 5fc4ac0d88f0..e2f137b0daeb 100644 --- a/drivers/media/video/omap24xxcam.c +++ b/drivers/media/video/omap24xxcam.c | |||
@@ -1678,7 +1678,8 @@ static int omap24xxcam_device_register(struct v4l2_int_device *s) | |||
1678 | 1678 | ||
1679 | omap24xxcam_poweron_reset(cam); | 1679 | omap24xxcam_poweron_reset(cam); |
1680 | 1680 | ||
1681 | dev_info(cam->dev, "registered device video%d\n", vfd->minor); | 1681 | dev_info(cam->dev, "registered device %s\n", |
1682 | video_device_node_name(vfd)); | ||
1682 | 1683 | ||
1683 | return 0; | 1684 | return 0; |
1684 | 1685 | ||