[PATCH] clk: Fix comment typo

Jason Wang posted 1 patch 3 years, 8 months ago
drivers/clk/clk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] clk: Fix comment typo
Posted by Jason Wang 3 years, 8 months ago
The double `to' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 drivers/clk/clk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 7fc191c15507..275a65d146b0 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -3462,7 +3462,7 @@ static void clk_core_reparent_orphans_nolock(void)
 
 		/*
 		 * We need to use __clk_set_parent_before() and _after() to
-		 * to properly migrate any prepare/enable count of the orphan
+		 * properly migrate any prepare/enable count of the orphan
 		 * clock. This is important for CLK_IS_CRITICAL clocks, which
 		 * are enabled during init but might not have a parent yet.
 		 */
-- 
2.36.1
Re: [PATCH] clk: Fix comment typo
Posted by Stephen Boyd 3 years, 7 months ago
Quoting Jason Wang (2022-08-11 07:00:30)
> The double `to' is duplicated in the comment, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---

Applied to clk-next