diff mbox series

watchdog: Fix comment typo

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

Commit Message

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

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

Comments

Guenter Roeck July 22, 2022, 3:10 p.m. UTC | #1
On 7/15/22 21:18, Jason Wang wrote:
> The double `and' 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/booke_wdt.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c
> index 5e4dc1a0f2c6..75da5cd02615 100644
> --- a/drivers/watchdog/booke_wdt.c
> +++ b/drivers/watchdog/booke_wdt.c
> @@ -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)
>   {
diff mbox series

Patch

diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c
index 5e4dc1a0f2c6..75da5cd02615 100644
--- a/drivers/watchdog/booke_wdt.c
+++ b/drivers/watchdog/booke_wdt.c
@@ -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)
 {