iio: cleanup buffer.h comments

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Peter Meerwald 2012-07-01 00:47:43 +02:00 committed by Jonathan Cameron
parent c866ffc725
commit 3bdff93782
1 changed files with 10 additions and 7 deletions

View File

@ -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,
/** /**
* 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);
/** /**
* 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,