[PATCH] of: base: fix repeated words in comments

From: Jilin Yuan
Date: Sun Sep 18 2022 - 06:01:41 EST


Delete the redundant word 'of'.

Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>
---
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 8e96862d312e..9b8507fe6f9b 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1150,7 +1150,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.
@@ -1175,7 +1175,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.36.1