Skip to contentSkip to conversation

watchdog: dw_wdt: Fix comment typo

PATCH In review Jason Wang 2 participants 2 messages Jul 19, 2022 – Jul 22, 2022 Watchdog device drivers

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 watchdog: dw_wdt: Fix comment typo

The double `have' is duplicated in the comment, remove one.

---
 drivers/watchdog/dw_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/dw_wdt.c +1 -1
index cd578843277e..3208ce305335 100644
@@ -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.
 	 */
Signature · 1 line
2.35.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jason Wang

The double `have' is duplicated in the comment, remove one.

Quoted 17 lines
---
  drivers/watchdog/dw_wdt.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/dw_wdt.c +1 -1
index cd578843277e..3208ce305335 100644
@@ -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.
  	 */