Re: [PATCH] clk: spacemit: fix comment typo
From: Troy Mitchell
Date: Tue Oct 28 2025 - 21:05:05 EST
On Wed, Oct 29, 2025 at 12:05:39AM +0800, Encrow Thorne wrote:
> ccumix.h was copied from ccudiv.h and the comment after #endif was not
> updated.
>
> This patch fixes the incorrect comment to match the filename.
>
> Signed-off-by: Encrow Thorne <jyc0019@xxxxxxxxx>
> ---
> drivers/clk/spacemit/ccu_mix.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/spacemit/ccu_mix.h b/drivers/clk/spacemit/ccu_mix.h
> index 54d40cd39b27..c406508e3504 100644
> --- a/drivers/clk/spacemit/ccu_mix.h
> +++ b/drivers/clk/spacemit/ccu_mix.h
> @@ -220,4 +220,4 @@ extern const struct clk_ops spacemit_ccu_div_gate_ops;
> extern const struct clk_ops spacemit_ccu_mux_gate_ops;
> extern const struct clk_ops spacemit_ccu_mux_div_ops;
> extern const struct clk_ops spacemit_ccu_mux_div_gate_ops;
> -#endif /* _CCU_DIV_H_ */
> +#endif /* _CCU_MIX_H_ */
There's no reason to discourage beginners from starting with comment fixes.
Nice catch! Encrow.
Reviewd-by: Troy Mitchell <troy.mitchell@xxxxxxxxxxxxxxxxxx>