media: media/usb: don't set description in ENUM_FMT

The V4L2 core sets the description for the driver in order to ensure
consistent naming.

So drop the strscpy of the description in drivers. Also remove any
description strings in driver-internal structures since those are
no longer needed.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Этот коммит содержится в:
Hans Verkuil
2019-06-11 09:48:54 -04:00
коммит произвёл Mauro Carvalho Chehab
родитель 4747bd0f41
Коммит 009cb7d579
24 изменённых файлов: 14 добавлений и 120 удалений

Просмотреть файл

@@ -264,7 +264,6 @@ struct usbvision_v4l2_format_st {
int bytes_per_pixel;
int depth;
int format;
char *desc;
};
#define USBVISION_SUPPORTED_PALETTES ARRAY_SIZE(usbvision_v4l2_format)