2022-08-21 15:30:47

by wangjianli

[permalink] [raw]
Subject: [PATCH] mips/sgi-ip22: fix repeated words in comments

Delete the redundant word 'in'.

Signed-off-by: wangjianli <[email protected]>
---
arch/mips/sgi-ip22/ip22-gio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/sgi-ip22/ip22-gio.c b/arch/mips/sgi-ip22/ip22-gio.c
index 38d12f417e48..03d96638f957 100644
--- a/arch/mips/sgi-ip22/ip22-gio.c
+++ b/arch/mips/sgi-ip22/ip22-gio.c
@@ -41,7 +41,7 @@ static struct device gio_bus = {
/**
* gio_match_device - Tell if an of_device structure has a matching
* gio_match structure
- * @ids: array of of device match structures to search in
+ * @ids: array of device match structures to search in
* @dev: the of device structure to match against
*
* Used by a driver to check whether an of_device present in the
--
2.36.1


2022-08-21 16:33:07

by Sergey Shtylyov

[permalink] [raw]
Subject: Re: [PATCH] mips/sgi-ip22: fix repeated words in comments

On 8/21/22 6:02 PM, wangjianli wrote:

> Delete the redundant word 'in'.

You're dropping 'of' instead. :-)

>
> Signed-off-by: wangjianli <[email protected]>
> ---
> arch/mips/sgi-ip22/ip22-gio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/mips/sgi-ip22/ip22-gio.c b/arch/mips/sgi-ip22/ip22-gio.c
> index 38d12f417e48..03d96638f957 100644
> --- a/arch/mips/sgi-ip22/ip22-gio.c
> +++ b/arch/mips/sgi-ip22/ip22-gio.c
> @@ -41,7 +41,7 @@ static struct device gio_bus = {
> /**
> * gio_match_device - Tell if an of_device structure has a matching
> * gio_match structure
> - * @ids: array of of device match structures to search in
> + * @ids: array of device match structures to search in
> * @dev: the of device structure to match against
> *
> * Used by a driver to check whether an of_device present in the
>

MBR, Sergey