linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] watchdog: dw_wdt: Fix comment typo
@ 2022-07-16  4:19 Jason Wang
  2022-07-22 15:11 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2022-07-16  4:19 UTC (permalink / raw)
  To: linux; +Cc: wim, linux-watchdog, linux-kernel, Jason Wang

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

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.
 	 */
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] watchdog: dw_wdt: Fix comment typo
  2022-07-16  4:19 [PATCH] watchdog: dw_wdt: Fix comment typo Jason Wang
@ 2022-07-22 15:11 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-07-22 15:11 UTC (permalink / raw)
  To: Jason Wang; +Cc: wim, linux-watchdog, linux-kernel

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.
>   	 */


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-22 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-16  4:19 [PATCH] watchdog: dw_wdt: Fix comment typo Jason Wang
2022-07-22 15:11 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).