* [PATCH] iio: fix iio_push_to_buffers_with_ts() typo
@ 2025-07-22 21:52 David Lechner
2025-07-24 10:57 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: David Lechner @ 2025-07-22 21:52 UTC (permalink / raw)
To: Jonathan Cameron, Nuno Sá, Andy Shevchenko
Cc: linux-iio, linux-kernel, David Lechner
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>
---
include/linux/iio/iio.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
index d11668f14a3e17654fcf17a4e853d4b493205019..2f5560646ee49052deaaaae1dd2b92b21c4d4fd5 100644
--- a/include/linux/iio/iio.h
+++ b/include/linux/iio/iio.h
@@ -779,7 +779,7 @@ static inline void *iio_device_get_drvdata(const struct iio_dev *indio_dev)
* them safe for use with non-coherent DMA.
*
* A number of drivers also use this on buffers that include a 64-bit timestamp
- * that is used with iio_push_to_buffer_with_ts(). Therefore, in the case where
+ * that is used with iio_push_to_buffers_with_ts(). Therefore, in the case where
* DMA alignment is not sufficient for proper timestamp alignment, we align to
* 8 bytes instead.
*/
@@ -794,7 +794,7 @@ static inline void *iio_device_get_drvdata(const struct iio_dev *indio_dev)
* @name: identifier name of the buffer
* @count: number of elements in the buffer
*
- * Declares a buffer that is safe to use with iio_push_to_buffer_with_ts(). In
+ * Declares a buffer that is safe to use with iio_push_to_buffers_with_ts(). In
* addition to allocating enough space for @count elements of @type, it also
* allocates space for a s64 timestamp at the end of the buffer and ensures
* proper alignment of the timestamp.
---
base-commit: cd2731444ee4e35db76f4fb587f12d327eec5446
change-id: 20250722-iio-fix-iio_push_to_buffer_with_ts-typo-7bf33a1aa365
Best regards,
--
David Lechner <dlechner@baylibre.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: fix iio_push_to_buffers_with_ts() typo
2025-07-22 21:52 [PATCH] iio: fix iio_push_to_buffers_with_ts() typo David Lechner
@ 2025-07-24 10:57 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2025-07-24 10:57 UTC (permalink / raw)
To: David Lechner; +Cc: Nuno Sá, Andy Shevchenko, linux-iio, linux-kernel
On Tue, 22 Jul 2025 16:52:38 -0500
David Lechner <dlechner@baylibre.com> wrote:
> 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>
oops.
Applied to the testing branch of iio.git.
Thanks,
J
> ---
> include/linux/iio/iio.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
> index d11668f14a3e17654fcf17a4e853d4b493205019..2f5560646ee49052deaaaae1dd2b92b21c4d4fd5 100644
> --- a/include/linux/iio/iio.h
> +++ b/include/linux/iio/iio.h
> @@ -779,7 +779,7 @@ static inline void *iio_device_get_drvdata(const struct iio_dev *indio_dev)
> * them safe for use with non-coherent DMA.
> *
> * A number of drivers also use this on buffers that include a 64-bit timestamp
> - * that is used with iio_push_to_buffer_with_ts(). Therefore, in the case where
> + * that is used with iio_push_to_buffers_with_ts(). Therefore, in the case where
> * DMA alignment is not sufficient for proper timestamp alignment, we align to
> * 8 bytes instead.
> */
> @@ -794,7 +794,7 @@ static inline void *iio_device_get_drvdata(const struct iio_dev *indio_dev)
> * @name: identifier name of the buffer
> * @count: number of elements in the buffer
> *
> - * Declares a buffer that is safe to use with iio_push_to_buffer_with_ts(). In
> + * Declares a buffer that is safe to use with iio_push_to_buffers_with_ts(). In
> * addition to allocating enough space for @count elements of @type, it also
> * allocates space for a s64 timestamp at the end of the buffer and ensures
> * proper alignment of the timestamp.
>
> ---
> base-commit: cd2731444ee4e35db76f4fb587f12d327eec5446
> change-id: 20250722-iio-fix-iio_push_to_buffer_with_ts-typo-7bf33a1aa365
>
> Best regards,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-24 10:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-22 21:52 [PATCH] iio: fix iio_push_to_buffers_with_ts() typo David Lechner
2025-07-24 10:57 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).