Re: [PATCH v2 1/6] iio: accel: fix spelling mistakes in comments
From: Jonathan Cameron
Date: Sat Mar 07 2026 - 12:28:11 EST
On Sat, 7 Mar 2026 16:17:00 +0530
Shi Hao <i.shihao.999@xxxxxxxxx> 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@xxxxxxxxx>
> ---
> 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