Commit 3bdff937 authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron

iio: cleanup buffer.h comments

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent c866ffc7
...@@ -107,6 +107,7 @@ int iio_scan_mask_query(struct iio_dev *indio_dev, ...@@ -107,6 +107,7 @@ int iio_scan_mask_query(struct iio_dev *indio_dev,
/** /**
* iio_scan_mask_set() - set particular bit in the scan mask * iio_scan_mask_set() - set particular bit in the scan mask
* @indio_dev IIO device structure
* @buffer: the buffer whose scan mask we are interested in * @buffer: the buffer whose scan mask we are interested in
* @bit: the bit to be set. * @bit: the bit to be set.
**/ **/
...@@ -116,8 +117,8 @@ int iio_scan_mask_set(struct iio_dev *indio_dev, ...@@ -116,8 +117,8 @@ int iio_scan_mask_set(struct iio_dev *indio_dev,
/** /**
* iio_push_to_buffer() - push to a registered buffer. * iio_push_to_buffer() - push to a registered buffer.
* @buffer: IIO buffer structure for device * @buffer: IIO buffer structure for device
* @scan: Full scan. * @data: the data to push to the buffer
* @timestamp: * @timestamp: timestamp to associate with the data
*/ */
int iio_push_to_buffer(struct iio_buffer *buffer, unsigned char *data, int iio_push_to_buffer(struct iio_buffer *buffer, unsigned char *data,
s64 timestamp); s64 timestamp);
...@@ -127,6 +128,8 @@ int iio_update_demux(struct iio_dev *indio_dev); ...@@ -127,6 +128,8 @@ int iio_update_demux(struct iio_dev *indio_dev);
/** /**
* iio_buffer_register() - register the buffer with IIO core * iio_buffer_register() - register the buffer with IIO core
* @indio_dev: device with the buffer to be registered * @indio_dev: device with the buffer to be registered
* @channels: the channel descriptions used to construct buffer
* @num_channels: the number of channels
**/ **/
int iio_buffer_register(struct iio_dev *indio_dev, int iio_buffer_register(struct iio_dev *indio_dev,
const struct iio_chan_spec *channels, const struct iio_chan_spec *channels,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment