projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed50eb
)
[media] sur40: drop unnecessary format description
author
Hans Verkuil
<hverkuil@xs4all.nl>
Mon, 27 Jun 2016 10:25:43 +0000
(07:25 -0300)
committer
Mauro 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
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/sur40.c
b/drivers/input/touchscreen/sur40.c
index b2f3d266dd17b3ed1295a9a93e451c81243d6a58..4ea475775d58db0e6659e3481bacab7750ae9b0a 100644
(file)
--- 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;