i2c: refactor documentation of struct i2c_msg
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 9 Jan 2021 12:43:05 +0000 (13:43 +0100)
committerWolfram Sang <wsa@kernel.org>
Fri, 22 Jan 2021 08:58:50 +0000 (09:58 +0100)
commitbfb3939c51d51c0de794da14f33c13e36d2e4f3d
tree82f884faf98b1d4a36a096fd15853a4316119a70
parent1059b2bcc683ab29c25d542af4902bfdb3f91b40
i2c: refactor documentation of struct i2c_msg

The information about 'i2c_msg' was spread between kdoc and comments.
Move all the explanations to kdoc and duplicate only the requirements
for the flags in the comments. Also, add some redundancy and fix some
typos while here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
include/uapi/linux/i2c.h