diff mbox series

watchdog: dw_wdt: Fix comment typo

Message ID 20220716041951.34714-1-wangborong@cdjrlc.com
State New
Headers show
Series watchdog: dw_wdt: Fix comment typo | expand

Commit Message

Jason Wang July 16, 2022, 4:19 a.m. UTC
The double `have' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 drivers/watchdog/dw_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guenter Roeck July 22, 2022, 3:11 p.m. UTC | #1
On 7/15/22 21:19, Jason Wang wrote:
> The double `have' is duplicated in the comment, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   drivers/watchdog/dw_wdt.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
> index cd578843277e..3208ce305335 100644
> --- a/drivers/watchdog/dw_wdt.c
> +++ b/drivers/watchdog/dw_wdt.c
> @@ -218,7 +218,7 @@ static int dw_wdt_set_timeout(struct watchdog_device *wdd, unsigned int top_s)
>   
>   	/*
>   	 * Set the new value in the watchdog.  Some versions of dw_wdt
> -	 * have have TOPINIT in the TIMEOUT_RANGE register (as per
> +	 * have TOPINIT in the TIMEOUT_RANGE register (as per
>   	 * CP_WDT_DUAL_TOP in WDT_COMP_PARAMS_1).  On those we
>   	 * effectively get a pat of the watchdog right here.
>   	 */
diff mbox series

Patch

diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
index cd578843277e..3208ce305335 100644
--- a/drivers/watchdog/dw_wdt.c
+++ b/drivers/watchdog/dw_wdt.c
@@ -218,7 +218,7 @@  static int dw_wdt_set_timeout(struct watchdog_device *wdd, unsigned int top_s)
 
 	/*
 	 * Set the new value in the watchdog.  Some versions of dw_wdt
-	 * have have TOPINIT in the TIMEOUT_RANGE register (as per
+	 * have TOPINIT in the TIMEOUT_RANGE register (as per
 	 * CP_WDT_DUAL_TOP in WDT_COMP_PARAMS_1).  On those we
 	 * effectively get a pat of the watchdog right here.
 	 */