Skip to content

Commit 8652b62

Browse files
ColinIanKingsre
authored andcommitted
power: supply: ab8500: fix a handful of spelling mistakes
There are a few spelling mistakes in comments and in a dev_err error message. Fix them. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 1ae4a91 commit 8652b62

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/power/supply/ab8500_chargalg.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ ab8500_chargalg_safety_timer_expired(struct hrtimer *timer)
287287
* the maintenance timer
288288
* @timer: pointer to the timer structure
289289
*
290-
* This function gets called when the maintenence timer
290+
* This function gets called when the maintenance timer
291291
* expires
292292
*/
293293
static enum hrtimer_restart
@@ -431,7 +431,7 @@ static void ab8500_chargalg_stop_safety_timer(struct ab8500_chargalg *di)
431431
/**
432432
* ab8500_chargalg_start_maintenance_timer() - Start charging maintenance timer
433433
* @di: pointer to the ab8500_chargalg structure
434-
* @duration: duration of ther maintenance timer in minutes
434+
* @duration: duration of the maintenance timer in minutes
435435
*
436436
* The maintenance timer is used to maintain the charge in the battery once
437437
* the battery is considered full. These timers are chosen to match the
@@ -1271,7 +1271,7 @@ static void ab8500_chargalg_algorithm(struct ab8500_chargalg *di)
12711271
STATE_SAFETY_TIMER_EXPIRED_INIT);
12721272
}
12731273
/*
1274-
* Check if any interrupts has occured
1274+
* Check if any interrupts has occurred
12751275
* that will prevent us from charging
12761276
*/
12771277

@@ -1525,7 +1525,7 @@ static void ab8500_chargalg_algorithm(struct ab8500_chargalg *di)
15251525
bi->alert_high_temp_charge_voltage_uv,
15261526
bi->alert_high_temp_charge_current_ua);
15271527
} else {
1528-
dev_err(di->dev, "neither low or high temp event occured\n");
1528+
dev_err(di->dev, "neither low or high temp event occurred\n");
15291529
ab8500_chargalg_state_to(di, STATE_NORMAL_INIT);
15301530
break;
15311531
}

0 commit comments

Comments
 (0)