Re: [PATCH 2/2] clk: qcom: gcc-sdm660: drop redundant F define

From: Konrad Dybcio
Date: Mon Apr 17 2023 - 13:54:24 EST




On 17.04.2023 19:44, Christian Marangi wrote:
> The same exact F frequency table entry is defined in clk-rcg.h
> Drop the redundant define to cleanup code.
>
> Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad
> drivers/clk/qcom/gcc-sdm660.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/clk/qcom/gcc-sdm660.c b/drivers/clk/qcom/gcc-sdm660.c
> index db918c92a522..6afce8e42ede 100644
> --- a/drivers/clk/qcom/gcc-sdm660.c
> +++ b/drivers/clk/qcom/gcc-sdm660.c
> @@ -25,8 +25,6 @@
> #include "reset.h"
> #include "gdsc.h"
>
> -#define F(f, s, h, m, n) { (f), (s), (2 * (h) - 1), (m), (n) }
> -
> enum {
> P_XO,
> P_SLEEP_CLK,