aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r--drivers/media/video/usbvision/usbvision-video.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c
index c07b0ac452ab..639c3396ae77 100644
--- a/drivers/media/video/usbvision/usbvision-video.c
+++ b/drivers/media/video/usbvision/usbvision-video.c
@@ -1416,8 +1416,8 @@ static void usbvision_unregister_video(struct usb_usbvision *usbvision)
1416{ 1416{
1417 // vbi Device: 1417 // vbi Device:
1418 if (usbvision->vbi) { 1418 if (usbvision->vbi) {
1419 PDEBUG(DBG_PROBE, "unregister /dev/vbi%d [v4l2]", 1419 PDEBUG(DBG_PROBE, "unregister %s [v4l2]",
1420 usbvision->vbi->num); 1420 video_device_node_name(usbvision->vbi));
1421 if (usbvision->vbi->minor != -1) { 1421 if (usbvision->vbi->minor != -1) {
1422 video_unregister_device(usbvision->vbi); 1422 video_unregister_device(usbvision->vbi);
1423 } else { 1423 } else {
@@ -1428,8 +1428,8 @@ static void usbvision_unregister_video(struct usb_usbvision *usbvision)
1428 1428
1429 // Radio Device: 1429 // Radio Device:
1430 if (usbvision->rdev) { 1430 if (usbvision->rdev) {
1431 PDEBUG(DBG_PROBE, "unregister /dev/radio%d [v4l2]", 1431 PDEBUG(DBG_PROBE, "unregister %s [v4l2]",
1432 usbvision->rdev->num); 1432 video_device_node_name(usbvision->rdev));
1433 if (usbvision->rdev->minor != -1) { 1433 if (usbvision->rdev->minor != -1) {
1434 video_unregister_device(usbvision->rdev); 1434 video_unregister_device(usbvision->rdev);
1435 } else { 1435 } else {
@@ -1440,8 +1440,8 @@ static void usbvision_unregister_video(struct usb_usbvision *usbvision)
1440 1440
1441 // Video Device: 1441 // Video Device:
1442 if (usbvision->vdev) { 1442 if (usbvision->vdev) {
1443 PDEBUG(DBG_PROBE, "unregister /dev/video%d [v4l2]", 1443 PDEBUG(DBG_PROBE, "unregister %s [v4l2]",
1444 usbvision->vdev->num); 1444 video_device_node_name(usbvision->vdev));
1445 if (usbvision->vdev->minor != -1) { 1445 if (usbvision->vdev->minor != -1) {
1446 video_unregister_device(usbvision->vdev); 1446 video_unregister_device(usbvision->vdev);
1447 } else { 1447 } else {
@@ -1466,8 +1466,8 @@ static int __devinit usbvision_register_video(struct usb_usbvision *usbvision)
1466 video_nr)<0) { 1466 video_nr)<0) {
1467 goto err_exit; 1467 goto err_exit;
1468 } 1468 }
1469 printk(KERN_INFO "USBVision[%d]: registered USBVision Video device /dev/video%d [v4l2]\n", 1469 printk(KERN_INFO "USBVision[%d]: registered USBVision Video device %s [v4l2]\n",
1470 usbvision->nr, usbvision->vdev->num); 1470 usbvision->nr, video_device_node_name(usbvision->vdev));
1471 1471
1472 // Radio Device: 1472 // Radio Device:
1473 if (usbvision_device_data[usbvision->DevModel].Radio) { 1473 if (usbvision_device_data[usbvision->DevModel].Radio) {
@@ -1483,8 +1483,8 @@ static int __devinit usbvision_register_video(struct usb_usbvision *usbvision)
1483 radio_nr)<0) { 1483 radio_nr)<0) {
1484 goto err_exit; 1484 goto err_exit;
1485 } 1485 }
1486 printk(KERN_INFO "USBVision[%d]: registered USBVision Radio device /dev/radio%d [v4l2]\n", 1486 printk(KERN_INFO "USBVision[%d]: registered USBVision Radio device %s [v4l2]\n",
1487 usbvision->nr, usbvision->rdev->num); 1487 usbvision->nr, video_device_node_name(usbvision->rdev));
1488 } 1488 }
1489 // vbi Device: 1489 // vbi Device:
1490 if (usbvision_device_data[usbvision->DevModel].vbi) { 1490 if (usbvision_device_data[usbvision->DevModel].vbi) {
@@ -1499,8 +1499,8 @@ static int __devinit usbvision_register_video(struct usb_usbvision *usbvision)
1499 vbi_nr)<0) { 1499 vbi_nr)<0) {
1500 goto err_exit; 1500 goto err_exit;
1501 } 1501 }
1502 printk(KERN_INFO "USBVision[%d]: registered USBVision VBI device /dev/vbi%d [v4l2] (Not Working Yet!)\n", 1502 printk(KERN_INFO "USBVision[%d]: registered USBVision VBI device %s [v4l2] (Not Working Yet!)\n",
1503 usbvision->nr, usbvision->vbi->num); 1503 usbvision->nr, video_device_node_name(usbvision->vbi));
1504 } 1504 }
1505 // all done 1505 // all done
1506 return 0; 1506 return 0;