summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2016-06-27 07:25:43 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 16:16:58 -0300
commitd14cf19d2b078cf6b4c86e1c2ecd8b5f23556bf3 (patch)
tree4b34df08e2dc55837fc99e84dbaa1ef76a549d10 /drivers/input/touchscreen
parent8ed50eb42041070b6d7a3d4a7736374d12e463bb (diff)
[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/touchscreen')
-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;