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)
commit3f715c64be6e6e1e1bb140fb1179ab0a712f94c3
tree5c756619ef4850e3834e0e6b1f86798c6bd569f1
parentc3adb85745ca6cc19532b2ee197d7abece1ac732
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