[PATCH] power: supply: bq24257: Fix syntax errors in comments

Xiang wangx posted 1 patch 3 years, 10 months ago
drivers/power/supply/bq24257_charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] power: supply: bq24257: Fix syntax errors in comments
Posted by Xiang wangx 3 years, 10 months ago
Delete the redundant word 'is'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 drivers/power/supply/bq24257_charger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/supply/bq24257_charger.c b/drivers/power/supply/bq24257_charger.c
index 96cb3290bcaa..ecba9ab86faf 100644
--- a/drivers/power/supply/bq24257_charger.c
+++ b/drivers/power/supply/bq24257_charger.c
@@ -287,7 +287,7 @@ static int bq24257_set_input_current_limit(struct bq24257_device *bq,
 {
 	/*
 	 * Address the case where the user manually sets an input current limit
-	 * while the charger auto-detection mechanism is is active. In this
+	 * while the charger auto-detection mechanism is active. In this
 	 * case we want to abort and go straight to the user-specified value.
 	 */
 	if (bq->iilimit_autoset_enable)
-- 
2.36.1
Re: [PATCH] power: supply: bq24257: Fix syntax errors in comments
Posted by Sebastian Reichel 3 years, 10 months ago
Hi,

On Sat, Jun 04, 2022 at 10:18:11PM +0800, Xiang wangx wrote:
> Delete the redundant word 'is'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/bq24257_charger.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/supply/bq24257_charger.c b/drivers/power/supply/bq24257_charger.c
> index 96cb3290bcaa..ecba9ab86faf 100644
> --- a/drivers/power/supply/bq24257_charger.c
> +++ b/drivers/power/supply/bq24257_charger.c
> @@ -287,7 +287,7 @@ static int bq24257_set_input_current_limit(struct bq24257_device *bq,
>  {
>  	/*
>  	 * Address the case where the user manually sets an input current limit
> -	 * while the charger auto-detection mechanism is is active. In this
> +	 * while the charger auto-detection mechanism is active. In this
>  	 * case we want to abort and go straight to the user-specified value.
>  	 */
>  	if (bq->iilimit_autoset_enable)
> -- 
> 2.36.1
>