mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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>
This commit is contained in:
committed by
Jonathan Cameron
parent
58b98c66e6
commit
db0da4b7f6
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user