Skip to contentSkip to conversation

Fix misspelling of "Celsius".

PATCH Applied Adam Buchbinder 2 participants 3 messages Mar 13, 2009 – Mar 17, 2009

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix misspelling of "Celsius".

A few comments say "Celcius"; this fixes them. No code changes.

---
 drivers/acpi/thermal.c              |    2 +-
 drivers/input/touchscreen/ads7846.c |    2 +-
 drivers/power/bq27x00_battery.c     |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/acpi/thermal.c +0 -0
index 99e6f1f..0c30ec0 100644
@@ -367,7 +367,7 @@ static int acpi_thermal_trips_update(struct

acpi_thermal *tz, int flag)
/*
* Treat freezing temperatures as invalid as well; some
* BIOSes return really low values and cause reboots at startup.
- * Below zero (Celcius) values clearly aren't right for sure..
+ * Below zero (Celsius) values clearly aren't right for sure..
* ... so lets discard those as invalid.
*/
if (ACPI_FAILURE(status) ||

(quoted diff) +0 -0

b/drivers/input/touchscreen/ads7846.c
index 7c27c8b..056ac77 100644

drivers/input/touchscreen/ads7846.c +0 -0
@@ -295,7 +295,7 @@ name ## _show(struct device *dev, struct

device_attribute *attr, char *buf) \
static DEVICE_ATTR(name, S_IRUGO, name ## _show, NULL);

-/* Sysfs conventions report temperatures in millidegrees Celcius. +/* Sysfs conventions report temperatures in millidegrees Celsius.
* ADS7846 could use the low-accuracy two-sample scheme, but can't do the high
* accuracy scheme without calibration data. For now we won't try either;
* userspace sees raw sensor values, and must scale/calibrate appropriately.

drivers/power/bq27x00_battery.c +1 -1
index 0c056fc..62bb981 100644
@@ -83,7 +83,7 @@ static int bq27x00_read(u8 reg, int *rt_value, int b_single,
 }
 
 /*
- * Return the battery temperature in Celcius degrees
+ * Return the battery temperature in Celsius degrees
  * Or < 0 if something fails.
  */
 static int bq27x00_battery_temperature(struct bq27x00_device_info *di)
Signature · 1 line
1.5.6.3
#1 lore raw

PATCH 1/1 Fix misspelling of "Celsius".

A few comments say "Celcius"; this fixes them. No code changes.

---
 drivers/acpi/thermal.c              |    2 +-
 drivers/input/touchscreen/ads7846.c |    2 +-
 drivers/power/bq27x00_battery.c     |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/acpi/thermal.c +1 -1
index 99e6f1f..0c30ec0 100644
@@ -367,7 +367,7 @@ static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag)
 		/*
 		 * Treat freezing temperatures as invalid as well; some
 		 * BIOSes return really low values and cause reboots at startup.
-		 * Below zero (Celcius) values clearly aren't right for sure..
+		 * Below zero (Celsius) values clearly aren't right for sure..
 		 * ... so lets discard those as invalid.
 		 */
 		if (ACPI_FAILURE(status) ||
drivers/input/touchscreen/ads7846.c +1 -1
index 7c27c8b..056ac77 100644
@@ -295,7 +295,7 @@ name ## _show(struct device *dev, struct device_attribute *attr, char *buf) \
 static DEVICE_ATTR(name, S_IRUGO, name ## _show, NULL);
 
 
-/* Sysfs conventions report temperatures in millidegrees Celcius.
+/* Sysfs conventions report temperatures in millidegrees Celsius.
  * ADS7846 could use the low-accuracy two-sample scheme, but can't do the high
  * accuracy scheme without calibration data.  For now we won't try either;
  * userspace sees raw sensor values, and must scale/calibrate appropriately.
drivers/power/bq27x00_battery.c +1 -1
index 0c056fc..62bb981 100644
@@ -83,7 +83,7 @@ static int bq27x00_read(u8 reg, int *rt_value, int b_single,
 }
 
 /*
- * Return the battery temperature in Celcius degrees
+ * Return the battery temperature in Celsius degrees
  * Or < 0 if something fails.
  */
 static int bq27x00_battery_temperature(struct bq27x00_device_info *di)
Signature · 1 line
1.5.6.3
Applied
#2 lore raw
In reply to Adam Buchbinder
Quoted 1 line · Adam Buchbinder

A few comments say "Celcius"; this fixes them. No code changes.

Applied to trivial tree, thanks Adam.

Signature · 2 lines
Jiri Kosina
SUSE Labs