Skip to content

Commit

Permalink
V4L/DVB (11353): cx231xx: remove explicitly set v4l2_device.name
Browse files Browse the repository at this point in the history
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Janne Grunau authored and Mauro Carvalho Chehab committed Apr 7, 2009
1 parent 7231748 commit 6e7f7b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/video/cx231xx/cx231xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6e7f7b3

Please sign in to comment.