]> Git Repo - linux.git/commitdiff
power: supply: charger-manager: fix typo
authorJunlin Yang <[email protected]>
Wed, 20 Jan 2021 12:45:53 +0000 (20:45 +0800)
committerSebastian Reichel <[email protected]>
Mon, 25 Jan 2021 00:01:29 +0000 (01:01 +0100)
Change 'exeeds' to 'exceeds'.

Signed-off-by: Junlin Yang <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
drivers/power/supply/charger-manager.c

index 0d28741b8ecb3b12758739bd5d9cae278aa4ce0b..4dea8ecd70bca9c020bda2e3555902f33827b459 100644 (file)
@@ -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;
This page took 0.081067 seconds and 4 git commands to generate.