diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-18 09:07:12 +0100 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-05-15 12:02:39 -0700 |
commit | 1df5c939f6d9dff7dfbe108d93133b9636baa607 (patch) | |
tree | 4c25ddb65ee1ec940342b54ed169c24f2a51d46f /drivers/clk | |
parent | 98d9986cb8bf65f8316b45244fdafc1d12c303be (diff) | |
download | op-kernel-dev-1df5c939f6d9dff7dfbe108d93133b9636baa607.zip op-kernel-dev-1df5c939f6d9dff7dfbe108d93133b9636baa607.tar.gz |
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 'drivers/clk')
-rw-r--r-- | drivers/clk/clk.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index e5d5dc1..a7e5dd5 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1420,6 +1420,15 @@ fail_out: } EXPORT_SYMBOL_GPL(clk_register); +/** + * clk_unregister - unregister a currently registered clock + * @clk: clock to unregister + * + * Currently unimplemented. + */ +void clk_unregister(struct clk *clk) {} +EXPORT_SYMBOL_GPL(clk_unregister); + /*** clk rate change notifiers ***/ /** |