From: Hans Verkuil Date: Fri, 21 Jul 2017 08:54:12 +0000 (-0400) Subject: media: uvc: don't set driver_version X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=71269bf607bcb6e51970c90428e8a912857ea728;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git media: uvc: don't set driver_version This field will be removed as it is not needed anymore. Signed-off-by: Hans Verkuil Reviewed-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c index 70842c5af05b..4f463bf2b877 100644 --- a/drivers/media/usb/uvc/uvc_driver.c +++ b/drivers/media/usb/uvc/uvc_driver.c @@ -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;