diff mbox series

power: supply: bq24257: Fix syntax errors in comments

Message ID 20220604141811.14276-1-wangxiang@cdjrlc.com
State Accepted
Commit f7ca2d8c1b6d280a480baf7289c053754f98b44b
Headers show
Series power: supply: bq24257: Fix syntax errors in comments | expand

Commit Message

Xiang wangx June 4, 2022, 2:18 p.m. UTC
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(-)

Comments

Sebastian Reichel June 9, 2022, 7:26 p.m. UTC | #1
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
>
diff mbox series

Patch

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)