lkml.org 
[lkml]   [2022]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] of: fix repeated words in comments
From


On 10/19/22 06:02, Jilin Yuan wrote:
> Delete the redundant word 'of'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@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 8cefe5a7d04e..16c7e5a2a868 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

Hi,
Rob has already explained this at least 2 times.

The second "of" is "open firmware".
I would write it
array of 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

--
~Randy

\
 
 \ /
  Last update: 2022-10-19 20:55    [W:0.113 / U:1.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site