aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-01-02 14:28:28 -0500
committerJonathan Cameron <jic23@kernel.org>2017-01-10 14:54:51 -0500
commit315a19eca0e7cbae1bef7f43b36fdcfc33f248f6 (patch)
treedd2633715e4a7708a9e947e8b374116676346476
parentc2bf8d5f3262b3942bf923ef3b86d6ebe590821d (diff)
iio:buffers: Push some docs down into the .c file.
Ancient legacy of me doing it wrong which it is nice to clear up whilst we are here. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
-rw-r--r--drivers/iio/industrialio-buffer.c5
-rw-r--r--include/linux/iio/buffer.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iio/industrialio-buffer.c b/drivers/iio/industrialio-buffer.c
index 5eb991b24dff..0067e184c9ae 100644
--- a/drivers/iio/industrialio-buffer.c
+++ b/drivers/iio/industrialio-buffer.c
@@ -1384,6 +1384,11 @@ static int iio_push_to_buffer(struct iio_buffer *buffer, const void *data)
1384 return 0; 1384 return 0;
1385} 1385}
1386 1386
1387/**
1388 * iio_push_to_buffers() - push to a registered buffer.
1389 * @indio_dev: iio_dev structure for device.
1390 * @data: Full scan.
1391 */
1387int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data) 1392int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data)
1388{ 1393{
1389 int ret; 1394 int ret;
diff --git a/include/linux/iio/buffer.h b/include/linux/iio/buffer.h
index 635aa87eb5e9..cd77ed14eb7f 100644
--- a/include/linux/iio/buffer.h
+++ b/include/linux/iio/buffer.h
@@ -161,11 +161,6 @@ int iio_update_buffers(struct iio_dev *indio_dev,
161 **/ 161 **/
162void iio_buffer_init(struct iio_buffer *buffer); 162void iio_buffer_init(struct iio_buffer *buffer);
163 163
164/**
165 * iio_push_to_buffers() - push to a registered buffer.
166 * @indio_dev: iio_dev structure for device.
167 * @data: Full scan.
168 */
169int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data); 164int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data);
170 165
171/* 166/*