Skip to content

Commit 315a19e

Browse files
committed
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>
1 parent c2bf8d5 commit 315a19e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎drivers/iio/industrialio-buffer.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,11 @@ static int iio_push_to_buffer(struct iio_buffer *buffer, const void *data)
13841384
return 0;
13851385
}
13861386

1387+
/**
1388+
* iio_push_to_buffers() - push to a registered buffer.
1389+
* @indio_dev: iio_dev structure for device.
1390+
* @data: Full scan.
1391+
*/
13871392
int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data)
13881393
{
13891394
int ret;

‎include/linux/iio/buffer.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,6 @@ int iio_update_buffers(struct iio_dev *indio_dev,
161161
**/
162162
void iio_buffer_init(struct iio_buffer *buffer);
163163

164-
/**
165-
* iio_push_to_buffers() - push to a registered buffer.
166-
* @indio_dev: iio_dev structure for device.
167-
* @data: Full scan.
168-
*/
169164
int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data);
170165

171166
/*

0 commit comments

Comments
 (0)