From: "Ivan T. Ivanov" <iivanov@mm-sol.com> Cc: "Ivan T. Ivanov" <iivanov@mm-sol.com>, Sebastian Reichel <sre@debian.org>, Jonathan Cameron <jic23@kernel.org>, lars@metafoo.de, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH] iio: consumer.h: Fix scale factor in function comment Date: Tue, 23 Sep 2014 15:51:42 +0300 [thread overview] Message-ID: <1411476702-10004-1-git-send-email-iivanov@mm-sol.com> (raw) 1 milivolt is equal to 1000000 nanovolts. Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com> --- include/linux/iio/consumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iio/consumer.h b/include/linux/iio/consumer.h index 651f9a0..087af10 100644 --- a/include/linux/iio/consumer.h +++ b/include/linux/iio/consumer.h @@ -191,7 +191,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); -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: "Ivan T. Ivanov" <iivanov@mm-sol.com> To: unlisted-recipients:; (no To-header on input) Cc: "Ivan T. Ivanov" <iivanov@mm-sol.com>, Sebastian Reichel <sre@debian.org>, Jonathan Cameron <jic23@kernel.org>, lars@metafoo.de, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH] iio: consumer.h: Fix scale factor in function comment Date: Tue, 23 Sep 2014 15:51:42 +0300 [thread overview] Message-ID: <1411476702-10004-1-git-send-email-iivanov@mm-sol.com> (raw) 1 milivolt is equal to 1000000 nanovolts. Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com> --- include/linux/iio/consumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iio/consumer.h b/include/linux/iio/consumer.h index 651f9a0..087af10 100644 --- a/include/linux/iio/consumer.h +++ b/include/linux/iio/consumer.h @@ -191,7 +191,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); -- 1.9.1
next reply other threads:[~2014-09-23 12:51 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-09-23 12:51 Ivan T. Ivanov [this message] 2014-09-23 12:51 ` [PATCH] iio: consumer.h: Fix scale factor in function comment Ivan T. Ivanov 2014-12-12 11:24 ` Jonathan Cameron
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1411476702-10004-1-git-send-email-iivanov@mm-sol.com \ --to=iivanov@mm-sol.com \ --cc=jic23@kernel.org \ --cc=lars@metafoo.de \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=sre@debian.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.