Skip to contentSkip to conversation

ARM: OMAP2+: Fix typo in some comments

PATCH In review Jason Wang 2 participants 2 messages Aug 24, 2021 – Oct 6, 2021

Subsystems (4)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 ARM: OMAP2+: Fix typo in some comments

The double `the' in comment "get a struct clk * for the the hwmod's ..." is repeated. Therefore, we should remove one of them from the comments.

---
 arch/arm/mach-omap2/omap_hwmod.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-omap2/omap_hwmod.c +3 -3
index 12b26e04686f..a78ef7e7ce23 100644
@@ -812,7 +812,7 @@ static struct clk *_lookup_clkctrl_clk(struct omap_hwmod *oh)
 }
 
 /**
- * _init_main_clk - get a struct clk * for the the hwmod's main functional clk
+ * _init_main_clk - get a struct clk * for the hwmod's main functional clk
  * @oh: struct omap_hwmod *
  *
  * Called from _init_clocks().  Populates the @oh _clk (main
@@ -862,7 +862,7 @@ static int _init_main_clk(struct omap_hwmod *oh)
 }
 
 /**
- * _init_interface_clks - get a struct clk * for the the hwmod's interface clks
+ * _init_interface_clks - get a struct clk * for the hwmod's interface clks
  * @oh: struct omap_hwmod *
  *
  * Called from _init_clocks().  Populates the @oh OCP slave interface
@@ -901,7 +901,7 @@ static int _init_interface_clks(struct omap_hwmod *oh)
 }
 
 /**
- * _init_opt_clk - get a struct clk * for the the hwmod's optional clocks
+ * _init_opt_clk - get a struct clk * for the hwmod's optional clocks
  * @oh: struct omap_hwmod *
  *
  * Called from _init_clocks().  Populates the @oh omap_hwmod_opt_clk
Signature · 1 line
2.32.0
maintainer
#1 lore raw
Quoted 2 lines · Jason Wang

The double `the' in comment "get a struct clk * for the the hwmod's ..." is repeated. Therefore, we should remove one of them from the comments.

Thanks applying into omap-for-v5.16/soc.

Tony