···147147 /*148148 * The raw ADC value is 1278 when the temperature149149 * is 25 degrees and the scale factor per milli150150- * degree celcius is -470.150150+ * degree Celsius is -470.151151 */152152 *val = 25000 / -470 - 1278;153153 return IIO_VAL_INT;
+1-1
drivers/iio/accel/adis16209.c
···186186 /*187187 * The raw ADC value is 0x4FE when the temperature188188 * is 45 degrees and the scale factor per milli189189- * degree celcius is -470.189189+ * degree Celsius is -470.190190 */191191 *val = 25000 / -470 - 0x4FE;192192 return IIO_VAL_INT;