msm: clock: Remove the clk_set_min_rate() API and set_min_rate ops
This API is now unused. Since it is proprietary and not a generic
kernel API, remove it. Also remove use of the min_rate ops for all
clock except proc_comm clocks, for which CLKFLAG_MIN is still used.
Change-Id: I54e9baeef0058982c31a0752343dd54189eeaa04
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-rpm.c b/arch/arm/mach-msm/clock-rpm.c
index 75cba59..4757f7d 100644
--- a/arch/arm/mach-msm/clock-rpm.c
+++ b/arch/arm/mach-msm/clock-rpm.c
@@ -104,7 +104,7 @@
return;
}
-static int rpm_clk_set_min_rate(struct clk *clk, unsigned long rate)
+static int rpm_clk_set_rate(struct clk *clk, unsigned long rate)
{
unsigned long flags;
struct rpm_clk *r = to_rpm_clk(clk);
@@ -189,7 +189,7 @@
struct clk_ops clk_ops_rpm = {
.enable = rpm_clk_enable,
.disable = rpm_clk_disable,
- .set_min_rate = rpm_clk_set_min_rate,
+ .set_rate = rpm_clk_set_rate,
.get_rate = rpm_clk_get_rate,
.is_enabled = rpm_clk_is_enabled,
.round_rate = rpm_clk_round_rate,