2022-08-02 12:53:19

by Jason Wang

[permalink] [raw]
Subject: [PATCH] watchdog: w83977f_wdt: Fix comment typo

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

Signed-off-by: Jason Wang <[email protected]>
---
drivers/watchdog/w83977f_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/w83977f_wdt.c b/drivers/watchdog/w83977f_wdt.c
index fd64ae77780a..31bf21ceaf48 100644
--- a/drivers/watchdog/w83977f_wdt.c
+++ b/drivers/watchdog/w83977f_wdt.c
@@ -321,7 +321,7 @@ static int wdt_release(struct inode *inode, struct file *file)
* @ppos: pointer to the position to write. No seeks allowed
*
* A write to a watchdog device is defined as a keepalive signal. Any
- * write of data will do, as we we don't define content meaning.
+ * write of data will do, as we don't define content meaning.
*/

static ssize_t wdt_write(struct file *file, const char __user *buf,
--
2.35.1




2022-08-08 14:07:43

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH] watchdog: w83977f_wdt: Fix comment typo

On Wed, Aug 03, 2022 at 04:11:09AM +0800, Jason Wang wrote:
> The double `we' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> drivers/watchdog/w83977f_wdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/w83977f_wdt.c b/drivers/watchdog/w83977f_wdt.c
> index fd64ae77780a..31bf21ceaf48 100644
> --- a/drivers/watchdog/w83977f_wdt.c
> +++ b/drivers/watchdog/w83977f_wdt.c
> @@ -321,7 +321,7 @@ static int wdt_release(struct inode *inode, struct file *file)
> * @ppos: pointer to the position to write. No seeks allowed
> *
> * A write to a watchdog device is defined as a keepalive signal. Any
> - * write of data will do, as we we don't define content meaning.
> + * write of data will do, as we don't define content meaning.
> */
>
> static ssize_t wdt_write(struct file *file, const char __user *buf,
> --
> 2.35.1
>
>