diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-05 07:54:04 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-08 12:46:15 -0500 |
commit | ae8fce5c3baf84e319269e67823cf337ed9d359a (patch) | |
tree | bc0fe9f5df030aaaab01208ef054a91c74e315c1 /arch/arm/plat-omap/clock.c | |
parent | ebb8dca2957f3bb79eea8eec0c7d1c8c3fa9a5be (diff) |
[ARM] omap: remove clk_deny_idle and clk_allow_idle
Nothing makes any use of these functions, so there's little point in
providing them.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-omap/clock.c')
-rw-r--r-- | arch/arm/plat-omap/clock.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c index c53205c574d1..7b0400728594 100644 --- a/arch/arm/plat-omap/clock.c +++ b/arch/arm/plat-omap/clock.c | |||
@@ -316,34 +316,6 @@ void clk_unregister(struct clk *clk) | |||
316 | } | 316 | } |
317 | EXPORT_SYMBOL(clk_unregister); | 317 | EXPORT_SYMBOL(clk_unregister); |
318 | 318 | ||
319 | void clk_deny_idle(struct clk *clk) | ||
320 | { | ||
321 | unsigned long flags; | ||
322 | |||
323 | if (clk == NULL || IS_ERR(clk)) | ||
324 | return; | ||
325 | |||
326 | spin_lock_irqsave(&clockfw_lock, flags); | ||
327 | if (arch_clock->clk_deny_idle) | ||
328 | arch_clock->clk_deny_idle(clk); | ||
329 | spin_unlock_irqrestore(&clockfw_lock, flags); | ||
330 | } | ||
331 | EXPORT_SYMBOL(clk_deny_idle); | ||
332 | |||
333 | void clk_allow_idle(struct clk *clk) | ||
334 | { | ||
335 | unsigned long flags; | ||
336 | |||
337 | if (clk == NULL || IS_ERR(clk)) | ||
338 | return; | ||
339 | |||
340 | spin_lock_irqsave(&clockfw_lock, flags); | ||
341 | if (arch_clock->clk_allow_idle) | ||
342 | arch_clock->clk_allow_idle(clk); | ||
343 | spin_unlock_irqrestore(&clockfw_lock, flags); | ||
344 | } | ||
345 | EXPORT_SYMBOL(clk_allow_idle); | ||
346 | |||
347 | void clk_enable_init_clocks(void) | 319 | void clk_enable_init_clocks(void) |
348 | { | 320 | { |
349 | struct clk *clkp; | 321 | struct clk *clkp; |