diff options
Diffstat (limited to 'arch/arm/plat-omap/clock.c')
-rw-r--r-- | arch/arm/plat-omap/clock.c | 16 |
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 | } |
77 | EXPORT_SYMBOL(clk_disable); | 77 | EXPORT_SYMBOL(clk_disable); |
78 | 78 | ||
79 | int 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 | } | ||
93 | EXPORT_SYMBOL(clk_get_usecount); | ||
94 | |||
95 | unsigned long clk_get_rate(struct clk *clk) | 79 | unsigned long clk_get_rate(struct clk *clk) |
96 | { | 80 | { |
97 | unsigned long flags; | 81 | unsigned long flags; |