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

Configure Feed

Select the types of activity you want to include in your feed.

i2c: fix a doc warning

Don't let non-letters inside a literal block without escaping it, as
the toolchain would mis-interpret it:

./include/linux/i2c.h:518: WARNING: Inline strong start-string without end-string.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by

Mauro Carvalho Chehab and committed by
Wolfram Sang
692b65c8 e1b9f99f

+2 -2
+2 -2
include/linux/i2c.h
··· 506 * @smbus_xfer_atomic: same as @smbus_xfer. Yet, only using atomic context 507 * so e.g. PMICs can be accessed very late before shutdown. Optional. 508 * @functionality: Return the flags that this algorithm/adapter pair supports 509 - * from the I2C_FUNC_* flags. 510 * @reg_slave: Register given client to I2C slave mode of this adapter 511 * @unreg_slave: Unregister given client from I2C slave mode of this adapter 512 * ··· 515 * be addressed using the same bus algorithms - i.e. bit-banging or the PCF8584 516 * to name two of the most common. 517 * 518 - * The return codes from the @master_xfer{_atomic} fields should indicate the 519 * type of error code that occurred during the transfer, as documented in the 520 * Kernel Documentation file Documentation/i2c/fault-codes.rst. 521 */
··· 506 * @smbus_xfer_atomic: same as @smbus_xfer. Yet, only using atomic context 507 * so e.g. PMICs can be accessed very late before shutdown. Optional. 508 * @functionality: Return the flags that this algorithm/adapter pair supports 509 + * from the ``I2C_FUNC_*`` flags. 510 * @reg_slave: Register given client to I2C slave mode of this adapter 511 * @unreg_slave: Unregister given client from I2C slave mode of this adapter 512 * ··· 515 * be addressed using the same bus algorithms - i.e. bit-banging or the PCF8584 516 * to name two of the most common. 517 * 518 + * The return codes from the ``master_xfer{_atomic}`` fields should indicate the 519 * type of error code that occurred during the transfer, as documented in the 520 * Kernel Documentation file Documentation/i2c/fault-codes.rst. 521 */