Message ID | 20230417174408.23722-1-ansuelsmth@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] clk: qcom: gcc-ipq6018: drop redundant F define | expand |
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@gmail.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> 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,
On Mon, 17 Apr 2023 19:44:07 +0200, Christian Marangi wrote: > The same exact F frequency table entry is defined in clk-rcg.h > Drop the redundant define to cleanup code. > > Applied, thanks! [1/2] clk: qcom: gcc-ipq6018: drop redundant F define commit: 923f7d678b2ae3d522543058514d5605c185633b [2/2] clk: qcom: gcc-sdm660: drop redundant F define commit: bbd899f53412b79cbc46e7144437bb75302b1b80 Best regards,
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,
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@gmail.com> --- drivers/clk/qcom/gcc-ipq6018.c | 2 -- 1 file changed, 2 deletions(-)