diff options
author | Ivan T. Ivanov <iivanov@mm-sol.com> | 2014-09-23 15:51:42 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-12-12 12:28:36 +0000 |
commit | 09546a30632fd35996373146657d5a0296fd37ca (patch) | |
tree | 7af2c617a0f6b98fbaddebb1d61fa59c49d2b831 | |
parent | 9d02daf738bf01b9d89d4de2b74ed3bc9bebbb40 (diff) | |
download | linux-stable-09546a30632fd35996373146657d5a0296fd37ca.tar.gz linux-stable-09546a30632fd35996373146657d5a0296fd37ca.tar.bz2 linux-stable-09546a30632fd35996373146657d5a0296fd37ca.zip |
iio: consumer.h: Fix scale factor in function comment
1 milivolt is equal to 1000000 nanovolts.
Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | include/linux/iio/consumer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iio/consumer.h b/include/linux/iio/consumer.h index 6f64624f329b..26fb8f6342bb 100644 --- a/include/linux/iio/consumer.h +++ b/include/linux/iio/consumer.h @@ -201,7 +201,7 @@ int iio_read_channel_scale(struct iio_channel *chan, int *val, * The scale factor allows to increase the precession of the returned value. For * a scale factor of 1 the function will return the result in the normal IIO * unit for the channel type. E.g. millivolt for voltage channels, if you want - * nanovolts instead pass 1000 as the scale factor. + * nanovolts instead pass 1000000 as the scale factor. */ int iio_convert_raw_to_processed(struct iio_channel *chan, int raw, int *processed, unsigned int scale); |