Ver código fonte

MIPS: Alchemy: Remove bogus args from alchemy_clk_fgcs_detr

They were added to this function by mistake when they were added to the
clk_ops.determine_rate callback.

Fixes: 1c8e600440c7 ("clk: Add rate constraints to clocks")
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
Tomeu Vizoso 10 anos atrás
pai
commit
69b59cb817
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      arch/mips/alchemy/common/clock.c

+ 0 - 2
arch/mips/alchemy/common/clock.c

@@ -373,8 +373,6 @@ static long alchemy_calc_div(unsigned long rate, unsigned long prate,
 }
 
 static long alchemy_clk_fgcs_detr(struct clk_hw *hw, unsigned long rate,
-					unsigned long min_rate,
-					unsigned long max_rate,
 					unsigned long *best_parent_rate,
 					struct clk_hw **best_parent_clk,
 					int scale, int maxdiv)