diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-03 13:41:37 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-03 13:41:37 -0500 |
commit | a8d3584a2df28827094f6338cde1303c467bc1f0 (patch) | |
tree | d2cdb824f4b2f109ad6a74285455b56e5a2dd118 /include/asm-arm | |
parent | f47fc0ac7ead5ed91a11fcabfad6ee44c17ee934 (diff) |
[ARM] Remove clk_use()/clk_unuse()
It seems that clk_use() and clk_unuse() are additional complexity
which isn't required anymore. Remove them from the clock framework
to avoid the additional confusion which they cause, and update all
ARM machine types except for OMAP.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/hardware/clock.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/asm-arm/hardware/clock.h b/include/asm-arm/hardware/clock.h index 5c5689409a4b..69f33215e437 100644 --- a/include/asm-arm/hardware/clock.h +++ b/include/asm-arm/hardware/clock.h | |||
@@ -63,20 +63,6 @@ int clk_enable(struct clk *clk); | |||
63 | void clk_disable(struct clk *clk); | 63 | void clk_disable(struct clk *clk); |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * clk_use - increment the use count | ||
67 | * @clk: clock source | ||
68 | * | ||
69 | * Returns success (0) or negative errno. | ||
70 | */ | ||
71 | int clk_use(struct clk *clk); | ||
72 | |||
73 | /** | ||
74 | * clk_unuse - decrement the use count | ||
75 | * @clk: clock source | ||
76 | */ | ||
77 | void clk_unuse(struct clk *clk); | ||
78 | |||
79 | /** | ||
80 | * clk_get_rate - obtain the current clock rate (in Hz) for a clock source. | 66 | * clk_get_rate - obtain the current clock rate (in Hz) for a clock source. |
81 | * This is only valid once the clock source has been enabled. | 67 | * This is only valid once the clock source has been enabled. |
82 | * @clk: clock source | 68 | * @clk: clock source |