diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-05-21 17:26:13 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-05-21 21:53:23 +0300 |
commit | 8cdea5022dade063a10ffb0f768a18bfabab40e3 (patch) | |
tree | 71a74c3cf88372eeeeae5f2bb29062bdb40b166d /drivers/clk/clk-cdce706.c | |
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>
Diffstat (limited to 'drivers/clk/clk-cdce706.c')
-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; } |