aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/thermal.c2
-rw-r--r--drivers/input/touchscreen/ads7846.c2
-rw-r--r--drivers/power/bq27x00_battery.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index 99e6f1f8ea45..0c30ec094575 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -367,7 +367,7 @@ static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag)
367 /* 367 /*
368 * Treat freezing temperatures as invalid as well; some 368 * Treat freezing temperatures as invalid as well; some
369 * BIOSes return really low values and cause reboots at startup. 369 * BIOSes return really low values and cause reboots at startup.
370 * Below zero (Celcius) values clearly aren't right for sure.. 370 * Below zero (Celsius) values clearly aren't right for sure..
371 * ... so lets discard those as invalid. 371 * ... so lets discard those as invalid.
372 */ 372 */
373 if (ACPI_FAILURE(status) || 373 if (ACPI_FAILURE(status) ||
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c
index 7c27c8b9b6d0..056ac77e2cf0 100644
--- a/drivers/input/touchscreen/ads7846.c
+++ b/drivers/input/touchscreen/ads7846.c
@@ -295,7 +295,7 @@ name ## _show(struct device *dev, struct device_attribute *attr, char *buf) \
295static DEVICE_ATTR(name, S_IRUGO, name ## _show, NULL); 295static DEVICE_ATTR(name, S_IRUGO, name ## _show, NULL);
296 296
297 297
298/* Sysfs conventions report temperatures in millidegrees Celcius. 298/* Sysfs conventions report temperatures in millidegrees Celsius.
299 * ADS7846 could use the low-accuracy two-sample scheme, but can't do the high 299 * ADS7846 could use the low-accuracy two-sample scheme, but can't do the high
300 * accuracy scheme without calibration data. For now we won't try either; 300 * accuracy scheme without calibration data. For now we won't try either;
301 * userspace sees raw sensor values, and must scale/calibrate appropriately. 301 * userspace sees raw sensor values, and must scale/calibrate appropriately.
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index 0c056fcc01ce..62bb98124e26 100644
--- a/drivers/power/bq27x00_battery.c
+++ b/drivers/power/bq27x00_battery.c
@@ -83,7 +83,7 @@ static int bq27x00_read(u8 reg, int *rt_value, int b_single,
83} 83}
84 84
85/* 85/*
86 * Return the battery temperature in Celcius degrees 86 * Return the battery temperature in Celsius degrees
87 * Or < 0 if something fails. 87 * Or < 0 if something fails.
88 */ 88 */
89static int bq27x00_battery_temperature(struct bq27x00_device_info *di) 89static int bq27x00_battery_temperature(struct bq27x00_device_info *di)