Commit 569c4ac2 authored by Alexander Stein's avatar Alexander Stein Committed by Jonathan Cameron

iio: Fix some comments

Signed-off-by: default avatarAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent a49f0d1e
...@@ -54,7 +54,7 @@ struct iio_dummy_accel_calibscale { ...@@ -54,7 +54,7 @@ struct iio_dummy_accel_calibscale {
static const struct iio_dummy_accel_calibscale dummy_scales[] = { static const struct iio_dummy_accel_calibscale dummy_scales[] = {
{ 0, 100, 0x8 }, /* 0.000100 */ { 0, 100, 0x8 }, /* 0.000100 */
{ 0, 133, 0x7 }, /* 0.000133 */ { 0, 133, 0x7 }, /* 0.000133 */
{ 733, 13, 0x9 }, /* 733.00013 */ { 733, 13, 0x9 }, /* 733.000013 */
}; };
/* /*
...@@ -284,7 +284,7 @@ static int iio_dummy_read_raw(struct iio_dev *indio_dev, ...@@ -284,7 +284,7 @@ static int iio_dummy_read_raw(struct iio_dev *indio_dev,
/** /**
* iio_dummy_write_raw() - data write function. * iio_dummy_write_raw() - data write function.
* @indio_dev: the struct iio_dev associated with this device instance * @indio_dev: the struct iio_dev associated with this device instance
* @chan: the channel whose data is to be read * @chan: the channel whose data is to be written
* @val: first element of value to set (typically INT) * @val: first element of value to set (typically INT)
* @val2: second element of value to set (typically MICRO) * @val2: second element of value to set (typically MICRO)
* @mask: what we actually want to write. 0 is the channel, everything else * @mask: what we actually want to write. 0 is the channel, everything else
......
...@@ -155,7 +155,7 @@ int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev, ...@@ -155,7 +155,7 @@ int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev,
* occurs, this function is run. Typically this grabs data * occurs, this function is run. Typically this grabs data
* from the device. * from the device.
* *
* NULL for the top half. This is normally implemented only if we * NULL for the bottom half. This is normally implemented only if we
* either want to ping a capture now pin (no sleeping) or grab * either want to ping a capture now pin (no sleeping) or grab
* a timestamp as close as possible to a data ready trigger firing. * a timestamp as close as possible to a data ready trigger firing.
* *
......
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