linux/Documentation/driver-api/iio
David Lechner 6bce70d0a9 docs: iio: triggered-buffers: use new helpers in example
Update the "typical" triggered buffer example to use various new helpers
that have been added in the last year or so. This reflects current
expectations of how similar code should be written.

Also zero-initialize the buffer so we don't leak stack data. And fix a
missing semicolon while we're at it.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Stepan Ionichev <sozdayvek@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2026-05-31 11:01:46 +01:00
..
buffers.rst iio: ABI: Add support for floating-point numbers in buffer scan elements 2026-04-27 09:58:16 +01:00
core.rst docs: iio: Allow creating cross-references ABI 2025-02-18 13:42:46 -07:00
hw-consumer.rst docs: get rid of :c:type explicit declarations for structs 2020-10-15 07:49:40 +02:00
index.rst
intro.rst
triggered-buffers.rst docs: iio: triggered-buffers: use new helpers in example 2026-05-31 11:01:46 +01:00
triggers.rst docs: get rid of :c:type explicit declarations for structs 2020-10-15 07:49:40 +02:00