[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>
This commit is contained in:
committed by
Russell King
parent
f47fc0ac7e
commit
a8d3584a2d
@@ -62,20 +62,6 @@ int clk_enable(struct clk *clk);
|
||||
*/
|
||||
void clk_disable(struct clk *clk);
|
||||
|
||||
/**
|
||||
* clk_use - increment the use count
|
||||
* @clk: clock source
|
||||
*
|
||||
* Returns success (0) or negative errno.
|
||||
*/
|
||||
int clk_use(struct clk *clk);
|
||||
|
||||
/**
|
||||
* clk_unuse - decrement the use count
|
||||
* @clk: clock source
|
||||
*/
|
||||
void clk_unuse(struct clk *clk);
|
||||
|
||||
/**
|
||||
* clk_get_rate - obtain the current clock rate (in Hz) for a clock source.
|
||||
* This is only valid once the clock source has been enabled.
|
||||
|
||||
Reference in New Issue
Block a user