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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}