]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/media/common/saa7146_fops.c
V4L/DVB (13550): v4l: Use the new video_device_node_name function
[net-next-2.6.git] / drivers / media / common / saa7146_fops.c
index 620f655fa9c5b1e2602755fff2dadf9f7689000b..f279a64404155f91fdbf76fbb91311023746e4a8 100644 (file)
@@ -543,15 +543,13 @@ int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev,
                return err;
        }
 
-       if( VFL_TYPE_GRABBER == type ) {
+       if (VFL_TYPE_GRABBER == type)
                vv->video_minor = vfd->minor;
-               INFO(("%s: registered device video%d [v4l2]\n",
-                       dev->name, vfd->num));
-       } else {
+       else
                vv->vbi_minor = vfd->minor;
-               INFO(("%s: registered device vbi%d [v4l2]\n",
-                       dev->name, vfd->num));
-       }
+
+       INFO(("%s: registered device %s [v4l2]\n",
+               dev->name, video_device_node_name(vfd)));
 
        *vid = vfd;
        return 0;