docs: get rid of :c:type explicit declarations for structs
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 25 Sep 2020 10:01:25 +0000 (12:01 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 15 Oct 2020 05:49:40 +0000 (07:49 +0200)
commit9303c9d5e9883d5aef73e58baa595395f09954c5
treebf409995e2d9bce1041c9c7f79c6eecc21a02a59
parentabc59fd4a56abba8a9d9beadac7a371f4bb76187
docs: get rid of :c:type explicit declarations for structs

The :c:type:`foo` only works properly with structs before
Sphinx 3.x.

On Sphinx 3.x, structs should now be declared using the
.. c:struct, and referenced via :c:struct tag.

As we now have the automarkup.py macro, that automatically
convert:
struct foo

into cross-references, let's get rid of that, solving
several warnings when building docs with Sphinx 3.x.

Reviewed-by: André Almeida <andrealmeid@collabora.com> # blk-mq.rst
Reviewed-by: Takashi Iwai <tiwai@suse.de> # sound
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
29 files changed:
Documentation/block/blk-mq.rst
Documentation/block/inline-encryption.rst
Documentation/driver-api/fpga/fpga-bridge.rst
Documentation/driver-api/fpga/fpga-mgr.rst
Documentation/driver-api/fpga/fpga-region.rst
Documentation/driver-api/iio/buffers.rst
Documentation/driver-api/iio/core.rst
Documentation/driver-api/iio/hw-consumer.rst
Documentation/driver-api/iio/triggered-buffers.rst
Documentation/driver-api/iio/triggers.rst
Documentation/driver-api/media/dtv-frontend.rst
Documentation/driver-api/media/mc-core.rst
Documentation/driver-api/media/v4l2-controls.rst
Documentation/driver-api/media/v4l2-dev.rst
Documentation/driver-api/media/v4l2-device.rst
Documentation/driver-api/media/v4l2-event.rst
Documentation/driver-api/media/v4l2-fh.rst
Documentation/driver-api/media/v4l2-subdev.rst
Documentation/driver-api/regulator.rst
Documentation/driver-api/usb/URB.rst
Documentation/driver-api/usb/gadget.rst
Documentation/driver-api/usb/hotplug.rst
Documentation/filesystems/fsverity.rst
Documentation/sound/designs/tracepoints.rst
Documentation/sphinx/parse-headers.pl
Documentation/vm/ksm.rst
Documentation/vm/memory-model.rst
mm/ksm.c
mm/memblock.c