]> git.baikalelectronics.ru Git - kernel.git/commit
media: docs: v4l2-controls: rearrange control initialization sequence
authorLuca Ceresoli <luca@lucaceresoli.net>
Thu, 13 Jun 2019 14:18:22 +0000 (10:18 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 21:04:03 +0000 (17:04 -0400)
commit862d6b5252314ae4237215f5900f247313cc5bf4
tree8322d6a64fb73f3c0697e5afe8dad494d1d12a82
parent7654d7b76a36ca3463582a2ed0ad8d11e6ea1829
media: docs: v4l2-controls: rearrange control initialization sequence

The code snippet showing how to add controls to the driver’s top-level
struct is present twice, but only the second time it is split in the V4L2
and subdev cases. Consolidate everything at the beginning.

Also remove the "Where foo->bar is of type struct baz" sentences, this
obvious from the code.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Documentation/media/kapi/v4l2-controls.rst