[PATCH] usb/chipidea: fix repeated words in comments

Jilin Yuan posted 1 patch 3 years, 9 months ago
drivers/usb/chipidea/otg_fsm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] usb/chipidea: fix repeated words in comments
Posted by Jilin Yuan 3 years, 9 months ago
 Delete the redundant word 'power'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/usb/chipidea/otg_fsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c
index 6ed4b00dba96..61b157b9c662 100644
--- a/drivers/usb/chipidea/otg_fsm.c
+++ b/drivers/usb/chipidea/otg_fsm.c
@@ -459,7 +459,7 @@ static void ci_otg_drv_vbus(struct otg_fsm *fsm, int on)
 	struct ci_hdrc	*ci = container_of(fsm, struct ci_hdrc, fsm);
 
 	if (on) {
-		/* Enable power power */
+		/* Enable power */
 		hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP,
 							PORTSC_PP);
 		if (ci->platdata->reg_vbus) {
-- 
2.36.1
Re: [PATCH] usb/chipidea: fix repeated words in comments
Posted by Peter Chen 3 years, 8 months ago
On 22-07-16 21:16:30, Jilin Yuan wrote:
>  Delete the redundant word 'power'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
>  drivers/usb/chipidea/otg_fsm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c
> index 6ed4b00dba96..61b157b9c662 100644
> --- a/drivers/usb/chipidea/otg_fsm.c
> +++ b/drivers/usb/chipidea/otg_fsm.c
> @@ -459,7 +459,7 @@ static void ci_otg_drv_vbus(struct otg_fsm *fsm, int on)
>  	struct ci_hdrc	*ci = container_of(fsm, struct ci_hdrc, fsm);
>  
>  	if (on) {
> -		/* Enable power power */
> +		/* Enable power */
>  		hw_write(ci, OP_PORTSC, PORTSC_W1C_BITS | PORTSC_PP,
>  							PORTSC_PP);
>  		if (ci->platdata->reg_vbus) {
> -- 

Acked-by: Peter Chen <peter.chen@kernel.org>

-- 

Thanks,
Peter Chen