diff mbox series

[1/2] clk: qcom: gcc-ipq6018: drop redundant F define

Message ID 20230417174408.23722-1-ansuelsmth@gmail.com
State Accepted
Commit 923f7d678b2ae3d522543058514d5605c185633b
Headers show
Series [1/2] clk: qcom: gcc-ipq6018: drop redundant F define | expand

Commit Message

Christian Marangi April 17, 2023, 5:44 p.m. UTC
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(-)

Comments

Bjorn Andersson May 25, 2023, 4:53 a.m. UTC | #1
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 mbox series

Patch

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,