hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/Documentation/driver-api/iio/buffers.rst
....@@ -2,7 +2,7 @@
22 Buffers
33 =======
44
5
-* struct :c:type:`iio_buffer` — general buffer structure
5
+* struct iio_buffer — general buffer structure
66 * :c:func:`iio_validate_scan_mask_onehot` — Validates that exactly one channel
77 is selected
88 * :c:func:`iio_buffer_get` — Grab a reference to the buffer
....@@ -26,7 +26,7 @@
2626 ================
2727
2828 The meta information associated with a channel reading placed in a buffer is
29
-called a scan element . The important bits configuring scan elements are
29
+called a scan element. The important bits configuring scan elements are
3030 exposed to userspace applications via the
3131 :file:`/sys/bus/iio/iio:device{X}/scan_elements/*` directory. This file contains
3232 attributes of the following form:
....@@ -88,7 +88,7 @@
8888 The driver implementing the accelerometer described above will have the
8989 following channel definition::
9090
91
- struct struct iio_chan_spec accel_channels[] = {
91
+ struct iio_chan_spec accel_channels[] = {
9292 {
9393 .type = IIO_ACCEL,
9494 .modified = 1,