Browse Source

[media] sur40: drop unnecessary format description

Don't fill in the format description. This is now done in the V4L2 core to ensure
consistent descriptions.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Nick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Hans Verkuil 9 years ago
parent
commit
d14cf19d2b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/input/touchscreen/sur40.c

+ 0 - 1
drivers/input/touchscreen/sur40.c

@@ -783,7 +783,6 @@ static int sur40_vidioc_enum_fmt(struct file *file, void *priv,
 {
 {
 	if (f->index != 0)
 	if (f->index != 0)
 		return -EINVAL;
 		return -EINVAL;
-	strlcpy(f->description, "8-bit greyscale", sizeof(f->description));
 	f->pixelformat = V4L2_PIX_FMT_GREY;
 	f->pixelformat = V4L2_PIX_FMT_GREY;
 	f->flags = 0;
 	f->flags = 0;
 	return 0;
 	return 0;