Commit 8cdea502 authored by Axel Lin's avatar Axel Lin Committed by Stephen Boyd

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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent a59a5163
...@@ -666,6 +666,7 @@ static int cdce706_probe(struct i2c_client *client, ...@@ -666,6 +666,7 @@ static int cdce706_probe(struct i2c_client *client,
static int cdce706_remove(struct i2c_client *client) static int cdce706_remove(struct i2c_client *client)
{ {
of_clk_del_provider(client->dev.of_node);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment