All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] of: device - Remove duplicate 'of' in two places.
@ 2022-06-21 15:42 Jiang Jian
  2022-06-27 17:38 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Jiang Jian @ 2022-06-21 15:42 UTC (permalink / raw)
  To: robh+dt, frowand.list; +Cc: devicetree, linux-kernel, Jiang Jian

file: ./drivers/of/device.c
line: 22
 * @matches: array of of device match structures to search in
changed to
 * @matches: array of device match structures to search in

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 drivers/of/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/device.c b/drivers/of/device.c
index 874f031442dc..1582388156a9 100644
--- a/drivers/of/device.c
+++ b/drivers/of/device.c
@@ -19,7 +19,7 @@
 
 /**
  * of_match_device - Tell if a struct device matches an of_device_id list
- * @matches: array of of device match structures to search in
+ * @matches: array of device match structures to search in
  * @dev: the of device structure to match against
  *
  * Used by a driver to check whether an platform_device present in the
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] of: device - Remove duplicate 'of' in two places.
  2022-06-21 15:42 [PATCH] of: device - Remove duplicate 'of' in two places Jiang Jian
@ 2022-06-27 17:38 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-06-27 17:38 UTC (permalink / raw)
  To: Jiang Jian; +Cc: frowand.list, devicetree, linux-kernel

On Tue, Jun 21, 2022 at 11:42:22PM +0800, Jiang Jian wrote:
> file: ./drivers/of/device.c
> line: 22
>  * @matches: array of of device match structures to search in
> changed to
>  * @matches: array of device match structures to search in
> 
> Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
> ---
>  drivers/of/device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/of/device.c b/drivers/of/device.c
> index 874f031442dc..1582388156a9 100644
> --- a/drivers/of/device.c
> +++ b/drivers/of/device.c
> @@ -19,7 +19,7 @@
>  
>  /**
>   * of_match_device - Tell if a struct device matches an of_device_id list
> - * @matches: array of of device match structures to search in
> + * @matches: array of device match structures to search in

Maybe that was supposed to be 'of OF device match'? 

But really, something like 'NULL terminated array of struct of_device_id 
entries to search' would be better.

>   * @dev: the of device structure to match against

Like 'of' here.

>   *
>   * Used by a driver to check whether an platform_device present in the
> -- 
> 2.17.1
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-27 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 15:42 [PATCH] of: device - Remove duplicate 'of' in two places Jiang Jian
2022-06-27 17:38 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.