[media] sur40: drop unnecessary format description
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 27 Jun 2016 10:25:43 +0000 (07:25 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 19:16:58 +0000 (16:16 -0300)
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>
drivers/input/touchscreen/sur40.c

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