public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Shi Hao <i.shihao.999@gmail.com>
Cc: andriy.shevchenko@intel.com, andy@kernel.org,
	dlechner@baylibre.com, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org, marcelo.schmitt@analog.com,
	mazziesaccount@gmail.com, nuno.sa@analog.com
Subject: Re: [PATCH v2 1/6] iio: accel: fix spelling mistakes in comments
Date: Sat, 7 Mar 2026 17:24:02 +0000	[thread overview]
Message-ID: <20260307172402.69c0e96a@jic23-huawei> (raw)
In-Reply-To: <20260307104705.49129-2-i.shihao.999@gmail.com>

On Sat,  7 Mar 2026 16:17:00 +0530
Shi Hao <i.shihao.999@gmail.com> wrote:

Where it is just one spelling, good to say that in the patch title.

iio: accel: Fixing spelling and capitalisation of Celsius.


> Fix incorrect spelling in comments
> - celcius -> celsius

I'm going to put my fussy hat on give we are fixing this sort of thin.
Should be "degree Celsius"

Reflects that it is named after Anders Celsius

Thanks for tidying this up.

Jonathan


> 
> Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
> ---
>  drivers/iio/accel/adis16201.c | 2 +-
>  drivers/iio/accel/adis16209.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/accel/adis16201.c b/drivers/iio/accel/adis16201.c
> index 5127e58eebc7..87ad843d1e49 100644
> --- a/drivers/iio/accel/adis16201.c
> +++ b/drivers/iio/accel/adis16201.c
> @@ -147,7 +147,7 @@ static int adis16201_read_raw(struct iio_dev *indio_dev,
> 		/*
> 		 * The raw ADC value is 1278 when the temperature
> 		 * is 25 degrees and the scale factor per milli
> -		 * degree celcius is -470.
> +		 * degree celsius is -470.
> 		 */
> 		*val = 25000 / -470 - 1278;
> 		return IIO_VAL_INT;
> diff --git a/drivers/iio/accel/adis16209.c b/drivers/iio/accel/adis16209.c
> index 41ffd92f27fd..c9f34e2824ab 100644
> --- a/drivers/iio/accel/adis16209.c
> +++ b/drivers/iio/accel/adis16209.c
> @@ -186,7 +186,7 @@ static int adis16209_read_raw(struct iio_dev *indio_dev,
> 		/*
> 		 * The raw ADC value is 0x4FE when the temperature
> 		 * is 45 degrees and the scale factor per milli
> -		 * degree celcius is -470.
> +		 * degree celsius is -470.
> 		 */
> 		*val = 25000 / -470 - 0x4FE;
> 		return IIO_VAL_INT;
> --
> 2.53.0


  reply	other threads:[~2026-03-07 17:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-07 10:46 [PATCH v2 0/6] iio: fix spelling mistakes in comments Shi Hao
2026-03-07 10:47 ` [PATCH v2 1/6] iio: accel: " Shi Hao
2026-03-07 17:24   ` Jonathan Cameron [this message]
2026-03-07 10:47 ` [PATCH v2 2/6] iio: adc: " Shi Hao
2026-03-07 17:29   ` Jonathan Cameron
2026-03-07 10:47 ` [PATCH v2 3/6] iio: amplifiers: fix spelling mistake in comment Shi Hao
2026-03-07 17:29   ` Jonathan Cameron
2026-03-07 10:47 ` [PATCH v2 4/6] iio: cdc: fix spelling mistakes in comments Shi Hao
2026-03-08 20:22   ` Andy Shevchenko
2026-03-07 10:47 ` [PATCH v2 5/6] iio: chemical: fix spelling mistake in comment Shi Hao
2026-03-07 17:30   ` Jonathan Cameron
2026-03-07 10:47 ` [PATCH v2 6/6] iio: common: fix spelling mistakes in comments Shi Hao
2026-03-07 17:32   ` Jonathan Cameron
2026-03-10  9:14 ` [PATCH v2 0/6] iio: " Matti Vaittinen

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=20260307172402.69c0e96a@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=andriy.shevchenko@intel.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=i.shihao.999@gmail.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.schmitt@analog.com \
    --cc=mazziesaccount@gmail.com \
    --cc=nuno.sa@analog.com \
    /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