]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
power: supply: fix spelling mistake: supply: "Celcius" -> "Celsius"
authorColin Ian King <colin.king@canonical.com>
Wed, 28 Dec 2016 21:59:26 +0000 (21:59 +0000)
committerSebastian Reichel <sre@kernel.org>
Wed, 4 Jan 2017 21:04:46 +0000 (22:04 +0100)
trivial fix to spelling mistake in comments in the headers

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/ab8500_btemp.c
drivers/power/supply/bq24190_charger.c

index 6ffdc18f2599b04a96d0432d5f18dc6a8d973fbe..ae0a84f0b0a7e45e9c3b29d03c0789c8e1605ae9 100644 (file)
@@ -76,8 +76,8 @@ struct ab8500_btemp_ranges {
  * @dev:               Pointer to the structure device
  * @node:              List of AB8500 BTEMPs, hence prepared for reentrance
  * @curr_source:       What current source we use, in uA
- * @bat_temp:          Dispatched battery temperature in degree Celcius
- * @prev_bat_temp      Last measured battery temperature in degree Celcius
+ * @bat_temp:          Dispatched battery temperature in degree Celsius
+ * @prev_bat_temp      Last measured battery temperature in degree Celsius
  * @parent:            Pointer to the struct ab8500
  * @gpadc:             Pointer to the struct gpadc
  * @fg:                        Pointer to the struct fg
@@ -464,7 +464,7 @@ static int ab8500_btemp_get_batctrl_res(struct ab8500_btemp *di)
  * @tbl_size:  size of the resistance to temperature table
  * @res:       resistance to calculate the temperature from
  *
- * This function returns the battery temperature in degrees Celcius
+ * This function returns the battery temperature in degrees Celsius
  * based on the NTC resistance.
  */
 static int ab8500_btemp_res_to_temp(struct ab8500_btemp *di,
index e9584330aeed27f0c4e2cc7fa731ff8311e82659..2f333efa24ab4dd397d9644c30d99e2b1a60c7da 100644 (file)
@@ -199,7 +199,7 @@ static const int bq24190_cvc_vreg_values[] = {
        4400000
 };
 
-/* REG06[1:0] (TREG) in tenths of degrees Celcius */
+/* REG06[1:0] (TREG) in tenths of degrees Celsius */
 static const int bq24190_ictrc_treg_values[] = {
        600, 800, 1000, 1200
 };