projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59a516
)
clk: cdce706: Add missing of_clk_del_provider call in cdce706_remove
author
Axel Lin
<axel.lin@ingics.com>
Thu, 21 May 2015 14:26:13 +0000
(22:26 +0800)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Thu, 21 May 2015 18:53:23 +0000
(11:53 -0700)
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>
drivers/clk/clk-cdce706.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/clk-cdce706.c
b/drivers/clk/clk-cdce706.c
index 8a2dfd0012f3d5a35ee16c3bb868c92e626adf7d..f01164fada5dafd4e80d0eac8f5f0242847399dd 100644
(file)
--- 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;
}