diff mbox series

power: supply: charger-manager: fix typo

Message ID 20210120124553.751-1-angkery@163.com
State New
Headers show
Series power: supply: charger-manager: fix typo | expand

Commit Message

Junlin Yang Jan. 20, 2021, 12:45 p.m. UTC
From: Junlin Yang <yangjunlin@yulong.com>

Change 'exeeds' to 'exceeds'.

Signed-off-by: Junlin Yang <yangjunlin@yulong.com>
---
 drivers/power/supply/charger-manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Sebastian Reichel Jan. 28, 2021, 12:19 a.m. UTC | #1
Hi,

On Wed, Jan 20, 2021 at 08:45:53PM +0800, angkery wrote:
> From: Junlin Yang <yangjunlin@yulong.com>

> 

> Change 'exeeds' to 'exceeds'.

> 

> Signed-off-by: Junlin Yang <yangjunlin@yulong.com>

> ---


Thanks, queued.

-- Sebastian

>  drivers/power/supply/charger-manager.c | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)

> 

> diff --git a/drivers/power/supply/charger-manager.c b/drivers/power/supply/charger-manager.c

> index 6fcebe4..731351d8 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;

> -- 

> 1.9.1

> 

>
diff mbox series

Patch

diff --git a/drivers/power/supply/charger-manager.c b/drivers/power/supply/charger-manager.c
index 6fcebe4..731351d8 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;