提交 6e7f7b37 编写于 作者: J Janne Grunau 提交者: Mauro Carvalho Chehab

V4L/DVB (11353): cx231xx: remove explicitly set v4l2_device.name

Signed-off-by: NJanne Grunau <j@jannau.net>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 7231748a
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册