From 8cdea5022dade063a10ffb0f768a18bfabab40e3 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Thu, 21 May 2015 22:26:13 +0800 Subject: [PATCH] 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 Acked-by: Max Filippov Signed-off-by: Stephen Boyd --- drivers/clk/clk-cdce706.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5