summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShi Hao <i.shihao.999@gmail.com>2026-03-16 12:00:09 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-21 22:09:41 +0300
commitdb0da4b7f688a76951acc38870f71e673f8fcad0 (patch)
tree7a3d0f5129895e30aaa4b6574752e085b66182e3
parent58b98c66e6b0e7bcd0799105dadad263a826d425 (diff)
downloadlinux-db0da4b7f688a76951acc38870f71e673f8fcad0.tar.xz
iio: accel: fix typo celcius to Celsius
Fix incorrect spelling in comments - celcius -> Celsius Signed-off-by: Shi Hao <i.shihao.999@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/accel/adis16201.c2
-rw-r--r--drivers/iio/accel/adis16209.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/accel/adis16201.c b/drivers/iio/accel/adis16201.c
index 5127e58eebc7..ba0f97944c6d 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..04e169f221c4 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;