Skip to content

Commit b36cbb7

Browse files
lucaceresoliWolfram Sang
authored andcommitted
docs: i2c: smbus-protocol: fix kernel-doc function syntax
This clarifies these are functions (and would/will adds a hyperlink to the function documentation if/when documented). Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 3c13f1f commit b36cbb7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Documentation/i2c/smbus-protocol.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ byte. But this time, the data is a complete word (16 bits)::
118118

119119
Functionality flag: I2C_FUNC_SMBUS_READ_WORD_DATA
120120

121-
Note the convenience function i2c_smbus_read_word_swapped is
121+
Note the convenience function i2c_smbus_read_word_swapped() is
122122
available for reads where the two data bytes are the other way
123123
around (not SMBus compliant, but very popular.)
124124

@@ -152,7 +152,7 @@ specified through the Comm byte.::
152152

153153
Functionality flag: I2C_FUNC_SMBUS_WRITE_WORD_DATA
154154

155-
Note the convenience function i2c_smbus_write_word_swapped is
155+
Note the convenience function i2c_smbus_write_word_swapped() is
156156
available for writes where the two data bytes are the other way
157157
around (not SMBus compliant, but very popular.)
158158

0 commit comments

Comments
 (0)