[PATCH] drivers/of: fix repeated words in comments

wangjianli posted 1 patch 3 years, 7 months ago
drivers/of/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drivers/of: fix repeated words in comments
Posted by wangjianli 3 years, 7 months ago
 Delete the redundant word 'of'.

Signed-off-by: wangjianli <wangjianli@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.36.1
Re: [PATCH] drivers/of: fix repeated words in comments
Posted by Rob Herring 3 years, 7 months ago
On Sun, Aug 21, 2022 at 10:11 AM wangjianli <wangjianli@cdjrlc.com> wrote:
>
>  Delete the redundant word 'of'.
>
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>  drivers/of/device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Same comments as last time I got this fix:

https://lore.kernel.org/all/20220627173825.GA2637590-robh@kernel.org/

Rob