summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorJunlin Yang <yangjunlin@yulong.com>2021-01-20 15:45:53 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-01-25 03:01:29 +0300
commit2a0aa0fa39d430957ea375f5ad64f67f0258ebfa (patch)
tree005fded325d3d463f8f5cc2660d2e5cd34f39e5d /drivers/power
parent9483b961ad085fbacee2f69f11411a6134c00f22 (diff)
downloadlinux-2a0aa0fa39d430957ea375f5ad64f67f0258ebfa.tar.xz
power: supply: charger-manager: fix typo
Change 'exeeds' to 'exceeds'. Signed-off-by: Junlin Yang <yangjunlin@yulong.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/charger-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/supply/charger-manager.c b/drivers/power/supply/charger-manager.c
index 0d28741b8ecb..4dea8ecd70bc 100644
--- a/drivers/power/supply/charger-manager.c
+++ b/drivers/power/supply/charger-manager.c
@@ -570,7 +570,7 @@ static int cm_get_target_status(struct charger_manager *cm)
return POWER_SUPPLY_STATUS_DISCHARGING;
if (cm_check_thermal_status(cm)) {
- /* Check if discharging duration exeeds limit. */
+ /* Check if discharging duration exceeds limit. */
if (check_charging_duration(cm))
goto charging_ok;
return POWER_SUPPLY_STATUS_NOT_CHARGING;
@@ -578,7 +578,7 @@ static int cm_get_target_status(struct charger_manager *cm)
switch (cm->battery_status) {
case POWER_SUPPLY_STATUS_CHARGING:
- /* Check if charging duration exeeds limit. */
+ /* Check if charging duration exceeds limit. */
if (check_charging_duration(cm))
return POWER_SUPPLY_STATUS_FULL;
fallthrough;