diff mbox series

usb/chipidea: fix repeated words in comments

Message ID 20220716131630.33151-1-yuanjilin@cdjrlc.com (mailing list archive)
State Accepted
Commit fe3cc0cebe6091675c8bacd94e232a3203b939b8
Headers show
Series usb/chipidea: fix repeated words in comments | expand

Commit Message

Jilin Yuan July 16, 2022, 1:16 p.m. UTC
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(-)

Comments

Peter Chen July 27, 2022, 8:40 a.m. UTC | #1
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>
diff mbox series

Patch

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) {