aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/clock.c')
-rw-r--r--arch/arm/plat-omap/clock.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c
index 6a1737a74477..9833d73511a1 100644
--- a/arch/arm/plat-omap/clock.c
+++ b/arch/arm/plat-omap/clock.c
@@ -76,22 +76,6 @@ out:
76} 76}
77EXPORT_SYMBOL(clk_disable); 77EXPORT_SYMBOL(clk_disable);
78 78
79int clk_get_usecount(struct clk *clk)
80{
81 unsigned long flags;
82 int ret = 0;
83
84 if (clk == NULL || IS_ERR(clk))
85 return 0;
86
87 spin_lock_irqsave(&clockfw_lock, flags);
88 ret = clk->usecount;
89 spin_unlock_irqrestore(&clockfw_lock, flags);
90
91 return ret;
92}
93EXPORT_SYMBOL(clk_get_usecount);
94
95unsigned long clk_get_rate(struct clk *clk) 79unsigned long clk_get_rate(struct clk *clk)
96{ 80{
97 unsigned long flags; 81 unsigned long flags;