2022-05-23 06:15:58

by Julia Lawall

[permalink] [raw]
Subject: [PATCH] clk: nxp: fix typo in comment

Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <[email protected]>

---
drivers/clk/nxp/clk-lpc18xx-cgu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/nxp/clk-lpc18xx-cgu.c b/drivers/clk/nxp/clk-lpc18xx-cgu.c
index c23ac463ab0f..1bb18dc0a80a 100644
--- a/drivers/clk/nxp/clk-lpc18xx-cgu.c
+++ b/drivers/clk/nxp/clk-lpc18xx-cgu.c
@@ -609,7 +609,7 @@ static void __init lpc18xx_cgu_register_source_clks(struct device_node *np,
if (IS_ERR(clk))
pr_warn("%s: failed to register irc clk\n", __func__);

- /* Register crystal oscillator controlller */
+ /* Register crystal oscillator controller */
parents[0] = of_clk_get_parent_name(np, 0);
clk = clk_register_gate(NULL, clk_src_names[CLK_SRC_OSC], parents[0],
0, base + LPC18XX_CGU_XTAL_OSC_CTRL,



2022-06-01 19:19:33

by Vladimir Zapolskiy

[permalink] [raw]
Subject: Re: [PATCH] clk: nxp: fix typo in comment

On 5/21/22 14:10, Julia Lawall wrote:
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <[email protected]>
>
> ---
> drivers/clk/nxp/clk-lpc18xx-cgu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/nxp/clk-lpc18xx-cgu.c b/drivers/clk/nxp/clk-lpc18xx-cgu.c
> index c23ac463ab0f..1bb18dc0a80a 100644
> --- a/drivers/clk/nxp/clk-lpc18xx-cgu.c
> +++ b/drivers/clk/nxp/clk-lpc18xx-cgu.c
> @@ -609,7 +609,7 @@ static void __init lpc18xx_cgu_register_source_clks(struct device_node *np,
> if (IS_ERR(clk))
> pr_warn("%s: failed to register irc clk\n", __func__);
>
> - /* Register crystal oscillator controlller */
> + /* Register crystal oscillator controller */
> parents[0] = of_clk_get_parent_name(np, 0);
> clk = clk_register_gate(NULL, clk_src_names[CLK_SRC_OSC], parents[0],
> 0, base + LPC18XX_CGU_XTAL_OSC_CTRL,
>

Acked-by: Vladimir Zapolskiy <[email protected]>

--
Best wishes,
Vladimir

2022-10-03 20:25:32

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: nxp: fix typo in comment

Quoting Julia Lawall (2022-05-21 04:10:52)
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <[email protected]>
>
> ---

Applied to clk-next