media: uvc: don't set driver_version
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 21 Jul 2017 08:54:12 +0000 (04:54 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 8 Aug 2017 10:01:17 +0000 (06:01 -0400)
This field will be removed as it is not needed anymore.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/uvc/uvc_driver.c

index 70842c5af05bed9daed2fab49980a59139d84a21..4f463bf2b877c30b9921767ad9577aa252a09288 100644 (file)
@@ -2096,7 +2096,6 @@ static int uvc_probe(struct usb_interface *intf,
                        sizeof(dev->mdev.serial));
        strcpy(dev->mdev.bus_info, udev->devpath);
        dev->mdev.hw_revision = le16_to_cpu(udev->descriptor.bcdDevice);
-       dev->mdev.driver_version = LINUX_VERSION_CODE;
        media_device_init(&dev->mdev);
 
        dev->vdev.mdev = &dev->mdev;