summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2019-06-13 17:18:26 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-22 00:06:25 +0300
commit40208924b988888f786850fae42fb5ca880fab80 (patch)
treec3983062f331c47614846872ac310194d20bce6f /Documentation
parent025b941132352c6093cbb3a1f6760426e739dc79 (diff)
downloadlinux-40208924b988888f786850fae42fb5ca880fab80.tar.xz
media: docs: v4l2-controls: remove outdated paragraph
This paragraph was added by commit a42b57f5aacf ("V4L/DVB: Documentation: add v4l2-controls.txt documenting the new controls API") back in 2010, when the controls API has been improved. Nowadays it is a bit anachronistic, so remove it. The same information is stated in up-to-date wording a few paragraphs later > You’re done! And this is sufficient for most of the drivers we have. No > need to do any validation of control values, or implement QUERYCTRL, > QUERY_EXT_CTRL and QUERYMENU. And G/S_CTRL as well as G/TRY/S_EXT_CTRLS > are automatically supported. 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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/media/kapi/v4l2-controls.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/media/kapi/v4l2-controls.rst b/Documentation/media/kapi/v4l2-controls.rst
index 407617b1d0ce..ebe2a55908be 100644
--- a/Documentation/media/kapi/v4l2-controls.rst
+++ b/Documentation/media/kapi/v4l2-controls.rst
@@ -98,11 +98,6 @@ For V4L2 drivers:
foo->v4l2_dev.ctrl_handler = &foo->ctrl_handler;
-Finally, remove all control functions from your v4l2_ioctl_ops (if any):
-vidioc_queryctrl, vidioc_query_ext_ctrl, vidioc_querymenu, vidioc_g_ctrl,
-vidioc_s_ctrl, vidioc_g_ext_ctrls, vidioc_try_ext_ctrls and vidioc_s_ext_ctrls.
-Those are now no longer needed.
-
For sub-device drivers:
.. code-block:: c