Re: [PATCH 1/2] clk: qcom: gcc-ipq6018: drop redundant F define
From: Konrad Dybcio
Date: Mon Apr 17 2023 - 13:54:13 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-ipq6018.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/clk/qcom/gcc-ipq6018.c b/drivers/clk/qcom/gcc-ipq6018.c
> index 3f9c2f61a5d9..350ead66914c 100644
> --- a/drivers/clk/qcom/gcc-ipq6018.c
> +++ b/drivers/clk/qcom/gcc-ipq6018.c
> @@ -26,8 +26,6 @@
> #include "clk-regmap-mux.h"
> #include "reset.h"
>
> -#define F(f, s, h, m, n) { (f), (s), (2 * (h) - 1), (m), (n) }
> -
> enum {
> P_XO,
> P_BIAS_PLL,