Skip to contentSkip to conversation

watchdog: 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: Fix comment typo

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

---
 drivers/watchdog/booke_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/booke_wdt.c +1 -1
index 5e4dc1a0f2c6..75da5cd02615 100644
@@ -74,7 +74,7 @@ static unsigned long long period_to_sec(unsigned int period)
 /*
  * This procedure will find the highest period which will give a timeout
  * greater than the one required. e.g. for a bus speed of 66666666 and
- * and a parameter of 2 secs, then this procedure will return a value of 38.
+ * a parameter of 2 secs, then this procedure will return a value of 38.
  */
 static unsigned int sec_to_period(unsigned int secs)
 {
Signature · 1 line
2.35.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jason Wang

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

Quoted 17 lines
---
  drivers/watchdog/booke_wdt.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/booke_wdt.c +1 -1
index 5e4dc1a0f2c6..75da5cd02615 100644
@@ -74,7 +74,7 @@ static unsigned long long period_to_sec(unsigned int period)
  /*
   * This procedure will find the highest period which will give a timeout
   * greater than the one required. e.g. for a bus speed of 66666666 and
- * and a parameter of 2 secs, then this procedure will return a value of 38.
+ * a parameter of 2 secs, then this procedure will return a value of 38.
   */
  static unsigned int sec_to_period(unsigned int secs)
  {