diff options
author | Taniya Das <tdas@codeaurora.org> | 2017-02-28 10:48:38 +0530 |
---|---|---|
committer | Taniya Das <tdas@codeaurora.org> | 2017-03-17 09:12:10 +0530 |
commit | 947428e547f7be91fca50e902041e83a4b2be4c6 (patch) | |
tree | b3facbb18d53fe1ba63292a2ebbe39cc9c472df1 /drivers/clk/clk.c | |
parent | 76ddd7e95c11290a1f126cbde7321d4bf1ed429e (diff) |
clk: Move the measure functionality from common clock framework
Common Clock Framework(CCF) already has a clock ops hook `debug_init` which
could be used for the debugfs clock measure functionality. Remove the APIs
from the CCF and update the 'debug_init' clock ops to the clock types which
require the measure functionality.
Change-Id: I0c01f72a9d1d1caa1b1ab73a800401c2cbc3216c
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk.c')
-rw-r--r-- | drivers/clk/clk.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 463bb35237d8..4a9e034f939f 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -2874,8 +2874,6 @@ static int clk_debug_create_one(struct clk_core *core, struct dentry *pdentry) goto err_out; } - clk_debug_measure_add(core->hw, core->dentry); - ret = 0; goto out; @@ -3005,10 +3003,8 @@ static int __init clk_debug_init(void) return -ENOMEM; mutex_lock(&clk_debug_lock); - hlist_for_each_entry(core, &clk_debug_list, debug_node) { - clk_register_debug(core->hw); + hlist_for_each_entry(core, &clk_debug_list, debug_node) clk_debug_create_one(core, rootdir); - } inited = 1; mutex_unlock(&clk_debug_lock); |