diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-05-21 22:26:13 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-05-21 11:53:23 -0700 |
commit | 8cdea5022dade063a10ffb0f768a18bfabab40e3 (patch) | |
tree | 71a74c3cf88372eeeeae5f2bb29062bdb40b166d | |
parent | a59a516398750dc3477a81df34e655b596e352b3 (diff) |
clk: cdce706: Add missing of_clk_del_provider call in cdce706_remove
Remove a previously registered clock provider when unload the module.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r-- | drivers/clk/clk-cdce706.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk-cdce706.c b/drivers/clk/clk-cdce706.c index 8a2dfd0012f3..f01164fada5d 100644 --- a/drivers/clk/clk-cdce706.c +++ b/drivers/clk/clk-cdce706.c @@ -666,6 +666,7 @@ static int cdce706_probe(struct i2c_client *client, static int cdce706_remove(struct i2c_client *client) { + of_clk_del_provider(client->dev.of_node); return 0; } |