* [PATCH] of: base: Remove duplicate 'of' in two places.
@ 2022-06-21 16:13 Jiang Jian
2022-06-24 3:59 ` Frank Rowand
0 siblings, 1 reply; 2+ messages in thread
From: Jiang Jian @ 2022-06-21 16:13 UTC (permalink / raw)
To: robh+dt, frowand.list; +Cc: devicetree, linux-kernel, Jiang Jian
file: drivers/of/base.c
line: 1152,1177
* @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/base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index d4f98c8469ed..f738939cd283 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1149,7 +1149,7 @@ const struct of_device_id *__of_match_node(const struct of_device_id *matches,
/**
* of_match_node - Tell if a device_node has a matching of_match structure
- * @matches: array of of device match structures to search in
+ * @matches: array of device match structures to search in
* @node: the of device structure to match against
*
* Low level utility function used by device matching.
@@ -1174,7 +1174,7 @@ EXPORT_SYMBOL(of_match_node);
* you pass will not be searched, only the next one
* will; typically, you pass what the previous call
* returned. of_node_put() will be called on it
- * @matches: array of of device match structures to search in
+ * @matches: array of device match structures to search in
* @match: Updated to point at the matches entry which matched
*
* Return: A node pointer with refcount incremented, use
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] of: base: Remove duplicate 'of' in two places.
2022-06-21 16:13 [PATCH] of: base: Remove duplicate 'of' in two places Jiang Jian
@ 2022-06-24 3:59 ` Frank Rowand
0 siblings, 0 replies; 2+ messages in thread
From: Frank Rowand @ 2022-06-24 3:59 UTC (permalink / raw)
To: Jiang Jian, robh+dt; +Cc: devicetree, linux-kernel
On 6/21/22 12:13, Jiang Jian wrote:
> file: drivers/of/base.c
> line: 1152,1177
> * @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/base.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/of/base.c b/drivers/of/base.c
> index d4f98c8469ed..f738939cd283 100644
> --- a/drivers/of/base.c
> +++ b/drivers/of/base.c
> @@ -1149,7 +1149,7 @@ const struct of_device_id *__of_match_node(const struct of_device_id *matches,
>
> /**
> * of_match_node - Tell if a device_node has a matching of_match structure
> - * @matches: array of of device match structures to search in
> + * @matches: array of device match structures to search in
> * @node: the of device structure to match against
> *
> * Low level utility function used by device matching.
> @@ -1174,7 +1174,7 @@ EXPORT_SYMBOL(of_match_node);
> * you pass will not be searched, only the next one
> * will; typically, you pass what the previous call
> * returned. of_node_put() will be called on it
> - * @matches: array of of device match structures to search in
> + * @matches: array of device match structures to search in
> * @match: Updated to point at the matches entry which matched
> *
> * Return: A node pointer with refcount incremented, use
"of of device" looks wrong, but 'of device' means Open Firmeare device.
So technically it is correct. If Rob wants to accept the patch then
I am ok with the acceptance, to avoid future attempts to fix.
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-24 3:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-21 16:13 [PATCH] of: base: Remove duplicate 'of' in two places Jiang Jian
2022-06-24 3:59 ` Frank Rowand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).