diff mbox series

mips/sgi-ip22: fix repeated words in comments

Message ID 20220821150246.51164-1-wangjianli@cdjrlc.com (mailing list archive)
State Superseded
Headers show
Series mips/sgi-ip22: fix repeated words in comments | expand

Commit Message

wangjianli Aug. 21, 2022, 3:02 p.m. UTC
Delete the redundant word 'in'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 arch/mips/sgi-ip22/ip22-gio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Conor Dooley Aug. 21, 2022, 3:07 p.m. UTC | #1
Hi,

On 21/08/2022 16:02, wangjianli wrote:
>  Delete the redundant word 'in'.

The "duplicated" word here is "of" not "in".
However, I would suspect that the second "of" here is actually
meant to be "open firmware" so there is no duplication here.
Thanks,
Conor.

> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>  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
Sergey Shtylyov Aug. 21, 2022, 4:23 p.m. UTC | #2
On 8/21/22 6:02 PM, wangjianli wrote:

>  Delete the redundant word 'in'.

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

> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>  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
diff mbox series

Patch

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