Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: fix iio_push_to_buffers_with_ts() typo

Replace iio_push_to_buffer_with_ts() with iio_push_to_buffers_with_ts()
in some documentation comments in iio.h. The latter is the correct name
of the function, the former doesn't exist.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250722-iio-fix-iio_push_to_buffer_with_ts-typo-v1-1-6ac9efb856d3@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

David Lechner and committed by
Jonathan Cameron
b76c739c ff2501ff

+2 -2
+2 -2
include/linux/iio/iio.h
··· 779 779 * them safe for use with non-coherent DMA. 780 780 * 781 781 * A number of drivers also use this on buffers that include a 64-bit timestamp 782 - * that is used with iio_push_to_buffer_with_ts(). Therefore, in the case where 782 + * that is used with iio_push_to_buffers_with_ts(). Therefore, in the case where 783 783 * DMA alignment is not sufficient for proper timestamp alignment, we align to 784 784 * 8 bytes instead. 785 785 */ ··· 794 794 * @name: identifier name of the buffer 795 795 * @count: number of elements in the buffer 796 796 * 797 - * Declares a buffer that is safe to use with iio_push_to_buffer_with_ts(). In 797 + * Declares a buffer that is safe to use with iio_push_to_buffers_with_ts(). In 798 798 * addition to allocating enough space for @count elements of @type, it also 799 799 * allocates space for a s64 timestamp at the end of the buffer and ensures 800 800 * proper alignment of the timestamp.