summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2009-04-01 08:41:13 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 21:44:12 -0300
commit6e7f7b37e719746da67ecfc54a264783d473ca05 (patch)
treec0fc7d7d247c6556d1bd635927437c5644dbb536
parent7231748af687819fa1699c80e64ed6b47a4a3ff0 (diff)
V4L/DVB (11353): cx231xx: remove explicitly set v4l2_device.name
Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/cx231xx/cx231xx-cards.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c
index 1b30730b9fd..79833c25e70 100644
--- a/drivers/media/video/cx231xx/cx231xx-cards.c
+++ b/drivers/media/video/cx231xx/cx231xx-cards.c
@@ -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");