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

docs: i2c: avoid using ReST :doc:`foo` markup

The :doc:`foo` tag is auto-generated via automarkup.py.
So, use the filename at the sources, instead of :doc:`foo`.

Acked-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/569722e3f7d73d746c145ea78d2b4fbe5defee90.1623824363.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
25edd3a1 4d361d6c

+5 -4
+1 -1
Documentation/i2c/instantiating-devices.rst
··· 59 59 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 60 60 61 61 ACPI can also describe I2C devices. There is special documentation for this 62 - which is currently located at :doc:`../firmware-guide/acpi/enumeration`. 62 + which is currently located at Documentation/firmware-guide/acpi/enumeration.rst. 63 63 64 64 65 65 Declare the I2C devices in board files
+2 -1
Documentation/i2c/old-module-parameters.rst
··· 17 17 With the conversion of the I2C subsystem to the standard device driver 18 18 binding model, it became clear that these per-module parameters were no 19 19 longer needed, and that a centralized implementation was possible. The new, 20 - sysfs-based interface is described in :doc:`instantiating-devices`, section 20 + sysfs-based interface is described in 21 + Documentation/i2c/instantiating-devices.rst, section 21 22 "Method 4: Instantiate from user-space". 22 23 23 24 Below is a mapping from the old module parameters to the new interface.
+2 -2
Documentation/i2c/smbus-protocol.rst
··· 27 27 Each transaction type corresponds to a functionality flag. Before calling a 28 28 transaction function, a device driver should always check (just once) for 29 29 the corresponding functionality flag to ensure that the underlying I2C 30 - adapter supports the transaction in question. See :doc:`functionality` for 31 - the details. 30 + adapter supports the transaction in question. See 31 + Documentation/i2c/functionality.rst for the details. 32 32 33 33 34 34 Key to symbols