watchdog: dw_wdt: Fix comment typo
authorJason Wang <wangborong@cdjrlc.com>
Sat, 16 Jul 2022 04:19:51 +0000 (12:19 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 23 Jul 2022 12:26:41 +0000 (14:26 +0200)
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>
Link: https://lore.kernel.org/r/20220716041951.34714-1-wangborong@cdjrlc.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/dw_wdt.c

index 060dae6..52962e8 100644 (file)
@@ -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.
         */