summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/clock.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-06-17 19:43:14 +0200
committerDavid Brown <davidb@codeaurora.org>2013-06-24 22:06:42 +0200
commit85a7df1f858c3fac274b4f3bcccbe7790e24a04c (patch)
tree8e35608aa46b97499fe89e363e42d0737a981f40 /arch/arm/mach-msm/clock.c
parentmsm: iommu: Use clk_set_rate() instead of clk_set_min_rate() (diff)
downloadlinux-85a7df1f858c3fac274b4f3bcccbe7790e24a04c.tar.xz
linux-85a7df1f858c3fac274b4f3bcccbe7790e24a04c.zip
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.c')
-rw-r--r--arch/arm/mach-msm/clock.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-msm/clock.c b/arch/arm/mach-msm/clock.c
index d9145dfc2a3b..5fac2dfae980 100644
--- a/arch/arm/mach-msm/clock.c
+++ b/arch/arm/mach-msm/clock.c
@@ -121,14 +121,6 @@ struct clk *clk_get_parent(struct clk *clk)
}
EXPORT_SYMBOL(clk_get_parent);
-int clk_set_flags(struct clk *clk, unsigned long flags)
-{
- if (clk == NULL || IS_ERR(clk))
- return -EINVAL;
- return clk->ops->set_flags(clk->id, flags);
-}
-EXPORT_SYMBOL(clk_set_flags);
-
/* EBI1 is the only shared clock that several clients want to vote on as of
* this commit. If this changes in the future, then it might be better to
* make clk_min_rate handle the voting or make ebi1_clk_set_min_rate more