summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2021-02-15 15:35:11 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-11 20:47:08 +0000
commit6bc5ebe8aa08637355cd891e596b5bce63497cb5 (patch)
tree6c619362da5c593a320b62698923ba83c70b9683
parent218977dcdb2aac1ec0492b51e8473ca6d3387c50 (diff)
downloadlinux-6bc5ebe8aa08637355cd891e596b5bce63497cb5.tar.gz
docs: iio: mark "repeat" sysfs attribute as optional
Show that this field is optional, just like the shift value.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Link: https://lore.kernel.org/r/20210215143511.25471-6-luca@lucaceresoli.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--Documentation/driver-api/iio/buffers.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/iio/buffers.rst b/Documentation/driver-api/iio/buffers.rst
index 5801caf216a6..e83026aebe97 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.