30da78f08e66153e55efb4d14bf380c0673a1122
[openwrt/staging/jow.git] / target / linux / qualcommax / patches-6.1 / 0026-v6.5-clk-qcom-gcc-ipq6018-drop-redundant-F-define.patch
1 From 1e8a314a1b87eaba496fcc6dc0efef573b3c186d Mon Sep 17 00:00:00 2001
2 From: Christian Marangi <ansuelsmth@gmail.com>
3 Date: Mon, 17 Apr 2023 19:44:07 +0200
4 Subject: [PATCH] clk: qcom: gcc-ipq6018: drop redundant F define
5
6 The same exact F frequency table entry is defined in clk-rcg.h
7 Drop the redundant define to cleanup code.
8
9 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
10 Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
11 Signed-off-by: Bjorn Andersson <andersson@kernel.org>
12 Link: https://lore.kernel.org/r/20230417174408.23722-1-ansuelsmth@gmail.com
13 ---
14 drivers/clk/qcom/gcc-ipq6018.c | 2 --
15 1 file changed, 2 deletions(-)
16
17 --- a/drivers/clk/qcom/gcc-ipq6018.c
18 +++ b/drivers/clk/qcom/gcc-ipq6018.c
19 @@ -26,8 +26,6 @@
20 #include "clk-regmap-mux.h"
21 #include "reset.h"
22
23 -#define F(f, s, h, m, n) { (f), (s), (2 * (h) - 1), (m), (n) }
24 -
25 enum {
26 P_XO,
27 P_BIAS_PLL,