clk: Remove extraneous 'for' word in comments
Subsystems (2)
PATCH 1/1 clk: Remove extraneous 'for' word in comments
An extra 'for' word is grammatically incorrect in the comment 'verifying ops for multi-parent clks'. This commit removes this extra for word.
Signed-off-by Rishi Gupta <[email protected]>
--- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk.c +1 -1
@@ -2437,7 +2437,7 @@ static int clk_core_set_parent_nolock(struct clk_core *core,if (core->parent == parent)return 0 ; -/* verify ops for for multi-parent clks */ +/* verify ops for multi-parent clks */ if (core->num_parents >1 && !core->ops->set_parent)return -EPERM ;
Signature · 1 line
2.7.4
Quoted 3 lines · Rishi Gupta
An extra 'for' word is grammatically incorrect in the comment 'verifying ops for multi-parent clks'. This commit removes this extra for word.
A few other repeated word typos in comments are
common in the kernel and most could be changed.
$ git grep -P '^\s*/?\*.*\bthe the\b' | wc -l 285 $ git grep -P '^\s*/?\*.*\bto to\b' | wc -l 62 $ git grep -P '^\s*/?\*.*\bfor for\b' | wc -l 31 $ git grep -P '^\s*/?\*.*\bfrom from\b' | wc -l 22 $ git grep -P '^\s*/?\*.*\bare are\b' | wc -l 16
Thanks Joe for higlighting this. I am going
to send patches for them as well soon.
Quoting Rishi Gupta (2019-08-16 23:35:59)
Quoted 6 lines
An extra 'for' word is grammatically incorrect in the comment 'verifying ops for multi-parent clks'. This commit removes this extra for word.
Signed-off-by Rishi Gupta <[email protected]>---
Applied to clk-next