summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-09-17 00:02:54 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-10-13 10:37:23 +0300
commit4992ce003b76ee1629ad4e7332a49ea2619e7523 (patch)
tree38011b1f045c1f6b0b2565cfec7435b8b7ac6e23 /include
parent536bf30d282a6b2f676c6106587f0e1946449aca (diff)
downloadlinux-4992ce003b76ee1629ad4e7332a49ea2619e7523.tar.xz
iio: buffer: deprecated iio_push_to_buffers_with_timestamp()
Replace the documentation of iio_push_to_buffers_with_timestamp() with a deprecation notice pointing to the preferred alternative. Signed-off-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/iio/buffer.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/iio/buffer.h b/include/linux/iio/buffer.h
index e46b818981aa..d37f82678f71 100644
--- a/include/linux/iio/buffer.h
+++ b/include/linux/iio/buffer.h
@@ -26,11 +26,7 @@ int iio_pop_from_buffer(struct iio_buffer *buffer, void *data);
* @data: sample data
* @timestamp: timestamp for the sample data
*
- * Pushes data to the IIO device's buffers. If timestamps are enabled for the
- * device the function will store the supplied timestamp as the last element in
- * the sample data buffer before pushing it to the device buffers. The sample
- * data buffer needs to be large enough to hold the additional timestamp
- * (usually the buffer should be indio->scan_bytes bytes large).
+ * DEPRECATED: Use iio_push_to_buffers_with_ts() instead.
*
* Returns 0 on success, a negative error code otherwise.
*/