diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2013-06-17 21:43:14 +0400 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2013-06-25 00:06:42 +0400 |
commit | 85a7df1f858c3fac274b4f3bcccbe7790e24a04c (patch) | |
tree | 8e35608aa46b97499fe89e363e42d0737a981f40 /arch/arm/mach-msm/clock-pcom.c | |
parent | 8d21415348c0961eedd78e1767095f61d870c8fc (diff) | |
download | linux-85a7df1f858c3fac274b4f3bcccbe7790e24a04c.tar.xz |
ARM: msm: Remove custom clk_set_flags() API
Nobody is using this API upstream and it's just contributing
cruft. Remove it so the MSM clock API is closer to the generic
struct clock API.
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/clock-pcom.c')
-rw-r--r-- | arch/arm/mach-msm/clock-pcom.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-msm/clock-pcom.c b/arch/arm/mach-msm/clock-pcom.c index a52c970df157..bb75f8e75ce2 100644 --- a/arch/arm/mach-msm/clock-pcom.c +++ b/arch/arm/mach-msm/clock-pcom.c @@ -85,15 +85,6 @@ static int pc_clk_set_max_rate(unsigned id, unsigned rate) return (int)id < 0 ? -EINVAL : 0; } -static int pc_clk_set_flags(unsigned id, unsigned flags) -{ - int rc = msm_proc_comm(PCOM_CLKCTL_RPC_SET_FLAGS, &id, &flags); - if (rc < 0) - return rc; - else - return (int)id < 0 ? -EINVAL : 0; -} - static unsigned pc_clk_get_rate(unsigned id) { if (msm_proc_comm(PCOM_CLKCTL_RPC_RATE, &id, NULL)) @@ -130,7 +121,6 @@ struct clk_ops clk_ops_pcom = { .set_rate = pc_clk_set_rate, .set_min_rate = pc_clk_set_min_rate, .set_max_rate = pc_clk_set_max_rate, - .set_flags = pc_clk_set_flags, .get_rate = pc_clk_get_rate, .is_enabled = pc_clk_is_enabled, .round_rate = pc_clk_round_rate, |