aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index 7ad65370f274..5cc4fff04cdb 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -2167,8 +2167,8 @@ void em28xx_release_analog_resources(struct em28xx *dev)
2167 dev->radio_dev = NULL; 2167 dev->radio_dev = NULL;
2168 } 2168 }
2169 if (dev->vbi_dev) { 2169 if (dev->vbi_dev) {
2170 em28xx_info("V4L2 device /dev/vbi%d deregistered\n", 2170 em28xx_info("V4L2 device %s deregistered\n",
2171 dev->vbi_dev->num); 2171 video_device_node_name(dev->vbi_dev));
2172 if (-1 != dev->vbi_dev->minor) 2172 if (-1 != dev->vbi_dev->minor)
2173 video_unregister_device(dev->vbi_dev); 2173 video_unregister_device(dev->vbi_dev);
2174 else 2174 else
@@ -2176,8 +2176,8 @@ void em28xx_release_analog_resources(struct em28xx *dev)
2176 dev->vbi_dev = NULL; 2176 dev->vbi_dev = NULL;
2177 } 2177 }
2178 if (dev->vdev) { 2178 if (dev->vdev) {
2179 em28xx_info("V4L2 device /dev/video%d deregistered\n", 2179 em28xx_info("V4L2 device %s deregistered\n",
2180 dev->vdev->num); 2180 video_device_node_name(dev->vdev));
2181 if (-1 != dev->vdev->minor) 2181 if (-1 != dev->vdev->minor)
2182 video_unregister_device(dev->vdev); 2182 video_unregister_device(dev->vdev);
2183 else 2183 else
@@ -2540,16 +2540,16 @@ int em28xx_register_analog_devices(struct em28xx *dev)
2540 em28xx_errdev("can't register radio device\n"); 2540 em28xx_errdev("can't register radio device\n");
2541 return ret; 2541 return ret;
2542 } 2542 }
2543 em28xx_info("Registered radio device as /dev/radio%d\n", 2543 em28xx_info("Registered radio device as %s\n",
2544 dev->radio_dev->num); 2544 video_device_node_name(dev->radio_dev));
2545 } 2545 }
2546 2546
2547 em28xx_info("V4L2 video device registered as /dev/video%d\n", 2547 em28xx_info("V4L2 video device registered as %s\n",
2548 dev->vdev->num); 2548 video_device_node_name(dev->vdev));
2549 2549
2550 if (dev->vbi_dev) 2550 if (dev->vbi_dev)
2551 em28xx_info("V4L2 VBI device registered as /dev/vbi%d\n", 2551 em28xx_info("V4L2 VBI device registered as %s\n",
2552 dev->vbi_dev->num); 2552 video_device_node_name(dev->vbi_dev));
2553 2553
2554 return 0; 2554 return 0;
2555} 2555}