MIPS: Alchemy: Remove bogus args from alchemy_clk_fgcs_detr
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 13 Feb 2015 13:34:54 +0000 (14:34 +0100)
committerMichael Turquette <mturquette@linaro.org>
Wed, 18 Feb 2015 17:39:37 +0000 (09:39 -0800)
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>
arch/mips/alchemy/common/clock.c

index 4e65404..604b7d0 100644 (file)
@@ -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)