2022-08-31 07:32:50

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] mips: fix repeated words in comments

Delete the redundant word 'of'.

Signed-off-by: Jilin Yuan <[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 8686e8c1c4e5..b8e944b81a92 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-31 09:15:00

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH] mips: fix repeated words in comments

On 31/08/2022 07:41, Jilin Yuan wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> Delete the redundant word 'of'.
>
> Signed-off-by: Jilin Yuan <[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 8686e8c1c4e5..b8e944b81a92 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

You've tried to "fix" this several times & each time Rob has given
you feedback:
https://lore.kernel.org/all/[email protected]/

> * @dev: the of device structure to match against
> *
> * Used by a driver to check whether an of_device present in the
> --
> 2.36.1
>