From: Janne Grunau Date: Wed, 1 Apr 2009 11:41:13 +0000 (-0300) Subject: V4L/DVB (11353): cx231xx: remove explicitly set v4l2_device.name X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6e7f7b37e719746da67ecfc54a264783d473ca05;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB (11353): cx231xx: remove explicitly set v4l2_device.name Signed-off-by: Janne Grunau Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c index 1b30730b9fd8..79833c25e705 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");