aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-18 04:07:12 -0400
committerMike Turquette <mturquette@linaro.org>2012-05-15 15:02:39 -0400
commit1df5c939f6d9dff7dfbe108d93133b9636baa607 (patch)
tree4c25ddb65ee1ec940342b54ed169c24f2a51d46f /include/linux/clk-provider.h
parent98d9986cb8bf65f8316b45244fdafc1d12c303be (diff)
clk: Provide dummy clk_unregister()
While there's no actual implementation behind it having the call to use in drivers makes them feel neater from a driver author point of view. An actual implementation can wait for someone who needs to use the function in a real system. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> [mturquette@linaro.org: void return type instead of int -EINVAL] Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index c1c23b9ec368..4a0b483986c3 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -312,6 +312,8 @@ struct clk *clk_register_fixed_factor(struct device *dev, const char *name,
312 */ 312 */
313struct clk *clk_register(struct device *dev, struct clk_hw *hw); 313struct clk *clk_register(struct device *dev, struct clk_hw *hw);
314 314
315void clk_unregister(struct clk *clk);
316
315/* helper functions */ 317/* helper functions */
316const char *__clk_get_name(struct clk *clk); 318const char *__clk_get_name(struct clk *clk);
317struct clk_hw *__clk_get_hw(struct clk *clk); 319struct clk_hw *__clk_get_hw(struct clk *clk);