linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "Ivan T. Ivanov" <iivanov@mm-sol.com>
Cc: Sebastian Reichel <sre@debian.org>,
	lars@metafoo.de, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH] iio: consumer.h: Fix scale factor in function comment
Date: Fri, 12 Dec 2014 11:24:33 +0000	[thread overview]
Message-ID: <548AD071.1000204@kernel.org> (raw)
In-Reply-To: <1411476702-10004-1-git-send-email-iivanov@mm-sol.com>

On 23/09/14 13:51, Ivan T. Ivanov wrote:
> 1 milivolt is equal to 1000000 nanovolts.
> 
> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Good catch - applied to the togreg branch of iio.git.
Will initially push that as testing sometime later today
for the autobuilders to play.

Thanks,

Jonathan
> ---
>  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);
> 

      reply	other threads:[~2014-12-12 11:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=548AD071.1000204@kernel.org \
    --to=jic23@kernel.org \
    --cc=iivanov@mm-sol.com \
    --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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).