Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: userspace-api/media: drop doubled words

Drop duplicated words in Documentation/userspace-api/media/.
This addresses the words "struct" and "value".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: dev-sdr.rst: there is two -> there are two]
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Randy Dunlap and committed by
Mauro Carvalho Chehab
b4cc96f9 503ebad4

+8 -9
+1 -2
Documentation/userspace-api/media/dvb/fe-get-info.rst
··· 34 34 File descriptor returned by :ref:`open() <frontend_f_open>`. 35 35 36 36 ``argp`` 37 - pointer to struct struct 38 - :c:type:`dvb_frontend_info` 37 + pointer to struct :c:type:`dvb_frontend_info` 39 38 40 39 41 40 Description
+2 -2
Documentation/userspace-api/media/v4l/buffer.rst
··· 23 23 :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` and 24 24 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. In the multi-planar API, 25 25 some plane-specific members of struct :c:type:`v4l2_buffer`, 26 - such as pointers and sizes for each plane, are stored in struct 27 - struct :c:type:`v4l2_plane` instead. In that case, struct 26 + such as pointers and sizes for each plane, are stored in 27 + struct :c:type:`v4l2_plane` instead. In that case, 28 28 struct :c:type:`v4l2_buffer` contains an array of plane structures. 29 29 30 30 Dequeued video buffers come with timestamps. The driver decides at which
+1 -1
Documentation/userspace-api/media/v4l/dev-osd.rst
··· 51 51 ``base`` field of struct :c:type:`v4l2_framebuffer`. 52 52 The framebuffer device ioctl ``FBIOGET_FSCREENINFO`` returns the same 53 53 address in the ``smem_start`` field of struct 54 - struct :c:type:`fb_fix_screeninfo`. The ``FBIOGET_FSCREENINFO`` 54 + :c:type:`fb_fix_screeninfo`. The ``FBIOGET_FSCREENINFO`` 55 55 ioctl and struct :c:type:`fb_fix_screeninfo` are defined in 56 56 the ``linux/fb.h`` header file. 57 57
+1 -1
Documentation/userspace-api/media/v4l/dev-sdr.rst
··· 78 78 ``V4L2_BUF_TYPE_SDR_CAPTURE`` or ``V4L2_BUF_TYPE_SDR_OUTPUT`` and use 79 79 the struct :c:type:`v4l2_sdr_format` ``sdr`` member 80 80 of the ``fmt`` union as needed per the desired operation. Currently 81 - there is two fields, ``pixelformat`` and ``buffersize``, of struct 81 + there are two fields, ``pixelformat`` and ``buffersize``, of 82 82 struct :c:type:`v4l2_sdr_format` which are used. 83 83 Content of the ``pixelformat`` is V4L2 FourCC code of the data format. 84 84 The ``buffersize`` field is maximum buffer size in bytes required for
+2 -2
Documentation/userspace-api/media/v4l/hist-v4l2.rst
··· 43 43 1998-09-28: Revamped video standard. Made video controls individually 44 44 enumerable. 45 45 46 - 1998-10-02: The ``id`` field was removed from struct 46 + 1998-10-02: The ``id`` field was removed from 47 47 struct ``video_standard`` and the color subcarrier fields were 48 48 renamed. The :ref:`VIDIOC_QUERYSTD` ioctl was 49 49 renamed to :ref:`VIDIOC_ENUMSTD`, ··· 260 260 261 261 2000-09-18: ``V4L2_BUF_TYPE_VBI`` was added. This may *break 262 262 compatibility* as the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and 263 - :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctls may fail now if the struct 263 + :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctls may fail now if the 264 264 struct ``v4l2_fmt`` ``type`` field does not contain 265 265 ``V4L2_BUF_TYPE_VBI``. In the documentation of the struct 266 266 :c:type:`v4l2_vbi_format` ``offset`` field the
+1 -1
Documentation/userspace-api/media/v4l/vidioc-dqevent.rst
··· 260 260 :ref:`v4l2_queryctrl <v4l2-queryctrl>`. 261 261 * - __s32 262 262 - ``default_value`` 263 - - The default value value of the control. See struct 263 + - The default value of the control. See struct 264 264 :ref:`v4l2_queryctrl <v4l2-queryctrl>`. 265 265 266 266