From: Luca Ceresoli Date: Mon, 15 Feb 2021 14:35:11 +0000 (+0100) Subject: docs: iio: mark "repeat" sysfs attribute as optional X-Git-Tag: v5.13-rc1~173^2~344^2~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bc5ebe8aa08637355cd891e596b5bce63497cb5;p=thirdparty%2Flinux.git docs: iio: mark "repeat" sysfs attribute as optional Show that this field is optional, just like the shift value. Signed-off-by: Luca Ceresoli Link: https://lore.kernel.org/r/20210215143511.25471-6-luca@lucaceresoli.net Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/driver-api/iio/buffers.rst b/Documentation/driver-api/iio/buffers.rst index 5801caf216a69..e83026aebe975 100644 --- a/Documentation/driver-api/iio/buffers.rst +++ b/Documentation/driver-api/iio/buffers.rst @@ -37,7 +37,7 @@ attributes of the following form: * :file:`index`, the scan_index of the channel. * :file:`type`, description of the scan element data storage within the buffer and hence the form in which it is read from user space. - Format is [be|le]:[s|u]bits/storagebitsXrepeat[>>shift] . + Format is [be|le]:[s|u]bits/storagebits[Xrepeat][>>shift] . * *be* or *le*, specifies big or little endian. * *s* or *u*, specifies if signed (2's complement) or unsigned.