]> git.baikalelectronics.ru Git - kernel.git/commit
media: cedrus: Cleanup control initialization
authorEzequiel Garcia <ezequiel@collabora.com>
Fri, 16 Aug 2019 16:01:27 +0000 (13:01 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 19 Aug 2019 16:26:10 +0000 (13:26 -0300)
commitbd081c52121634daa7715fae6ef44d05084716e8
tree5c756619ef4850e3834e0e6b1f86798c6bd569f1
parentdd8357a149583dd7549ace1613c9fd3b7a0dd1d7
media: cedrus: Cleanup control initialization

In order to introduce other controls, the control initialization
needs to support an initial struct v4l2_ctrl_control.

While here, let's cleanup the control initialization,
removing unneeded fields.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/sunxi/cedrus/cedrus.c
drivers/staging/media/sunxi/cedrus/cedrus.h