V4L/DVB (11353): cx231xx: remove explicitly set v4l2_device.name
authorJanne Grunau <j@jannau.net>
Wed, 1 Apr 2009 11:41:13 +0000 (08:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:12 +0000 (21:44 -0300)
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-cards.c

index 1b30730b9fd87a49bc84f1d3275f05d4a89ce2c2..79833c25e7059e05885a4bb3e202ede466fd8e81 100644 (file)
@@ -672,8 +672,6 @@ static int cx231xx_usb_probe(struct usb_interface *interface,
         */
 
        /* Create v4l2 device */
-       snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name),
-                                       "%s-%03d", "cx231xx", nr);
        retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev);
        if (retval) {
                cx231xx_errdev("v4l2_device_register failed\n");