projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d02daf
)
iio: consumer.h: Fix scale factor in function comment
author
Ivan T. Ivanov
<iivanov@mm-sol.com>
Tue, 23 Sep 2014 12:51:42 +0000
(15:51 +0300)
committer
Jonathan Cameron
<jic23@kernel.org>
Fri, 12 Dec 2014 12:28:36 +0000
(12:28 +0000)
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>
include/linux/iio/consumer.h
patch
|
blob
|
history
diff --git
a/include/linux/iio/consumer.h
b/include/linux/iio/consumer.h
index 6f64624f329b4bd59320a13b7ba7c9cf96973667..26fb8f6342bb5267ebe0289b9a6474d2fdb18ed8 100644
(file)
--- 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 1000
000
as the scale factor.
*/
int iio_convert_raw_to_processed(struct iio_channel *chan, int raw,
int *processed, unsigned int scale);