summaryrefslogtreecommitdiffstats
path: root/drivers/clk/rockchip/clk_rv1108.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/rockchip/clk_rv1108.c')
-rw-r--r--drivers/clk/rockchip/clk_rv1108.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/clk/rockchip/clk_rv1108.c b/drivers/clk/rockchip/clk_rv1108.c
index 818293dfe8..cf966bbdc3 100644
--- a/drivers/clk/rockchip/clk_rv1108.c
+++ b/drivers/clk/rockchip/clk_rv1108.c
@@ -25,9 +25,6 @@ enum {
OUTPUT_MIN_HZ = 24 * 1000000,
};
-#define RATE_TO_DIV(input_rate, output_rate) \
- ((input_rate) / (output_rate) - 1);
-
#define DIV_TO_RATE(input_rate, div) ((input_rate) / ((div) + 1))
#define PLL_DIVISORS(hz, _refdiv, _postdiv1, _postdiv2) {\