2022-08-21 16:22:13

by wangjianli

[permalink] [raw]
Subject: [PATCH] clk/meson: fix repeated words in comments

Delete the redundant word 'by'.

Signed-off-by: wangjianli <[email protected]>
---
arch/x86/tools/relocs.c | 2 +-
drivers/clk/meson/clk-regmap.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c
index e2c5b296120d..3f8ab8efb674 100644
--- a/arch/x86/tools/relocs.c
+++ b/arch/x86/tools/relocs.c
@@ -764,7 +764,7 @@ static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel,
* to the start of the per_cpu area that does not change).
*
* Relocations that apply to the per_cpu area need to have their
- * offset adjusted by by the value of __per_cpu_load to make them
+ * offset adjusted by the value of __per_cpu_load to make them
* point to the correct place in the loaded image (because the
* virtual address of .data..percpu is 0).
*
diff --git a/drivers/clk/meson/clk-regmap.h b/drivers/clk/meson/clk-regmap.h
index e365312da54e..e08a9fa0cc36 100644
--- a/drivers/clk/meson/clk-regmap.h
+++ b/drivers/clk/meson/clk-regmap.h
@@ -18,7 +18,7 @@
* @data: data specific to the clock type
*
* Clock which is controlled by regmap backed registers. The actual type of
- * of the clock is controlled by the clock_ops and data.
+ * the clock is controlled by the clock_ops and data.
*/
struct clk_regmap {
struct clk_hw hw;
--
2.36.1


2022-08-21 16:25:40

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH] clk/meson: fix repeated words in comments

Hello,

On Sun, Aug 21, 2022 at 5:37 PM wangjianli <[email protected]> wrote:
>
> Delete the redundant word 'by'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> arch/x86/tools/relocs.c | 2 +-
> drivers/clk/meson/clk-regmap.h | 2 +-
The clk-regmap.h change is fine but it needs to be separated from the
x86 change.
Can you please send an updated patch?


Thank you and best regards,
Martin