summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorHans Verkuil2016-06-27 12:25:43 +0200
committerMauro Carvalho Chehab2016-07-08 21:16:58 +0200
commitd14cf19d2b078cf6b4c86e1c2ecd8b5f23556bf3 (patch)
tree4b34df08e2dc55837fc99e84dbaa1ef76a549d10 /drivers/input
parent[media] usbtv: improve a comment (diff)
downloadkernel-qcow2-linux-d14cf19d2b078cf6b4c86e1c2ecd8b5f23556bf3.tar.gz
kernel-qcow2-linux-d14cf19d2b078cf6b4c86e1c2ecd8b5f23556bf3.tar.xz
kernel-qcow2-linux-d14cf19d2b078cf6b4c86e1c2ecd8b5f23556bf3.zip
[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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/sur40.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/sur40.c b/drivers/input/touchscreen/sur40.c
index b2f3d266dd17..4ea475775d58 100644
--- a/drivers/input/touchscreen/sur40.c
+++ b/drivers/input/touchscreen/sur40.c
@@ -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;