]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iio: accel: fix typo celcius to Celsius
authorShi Hao <i.shihao.999@gmail.com>
Mon, 16 Mar 2026 09:00:09 +0000 (14:30 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2026 19:09:41 +0000 (19:09 +0000)
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>
drivers/iio/accel/adis16201.c
drivers/iio/accel/adis16209.c

index 5127e58eebc7d924a7e4d7ed6bda5e599aee946a..ba0f97944c6d5fbe5e26e8d95b47f73a1adc7773 100644 (file)
@@ -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;
index 41ffd92f27fdca1fb58bc234cff19a81cadbb069..04e169f221c417515afc7f54ba87409192fa0a0a 100644 (file)
@@ -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;