projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b04b65a
)
OMAP clock: use debugfs_remove_recursive() for rewinding
author
Hiroshi DOYU
<Hiroshi.DOYU@nokia.com>
Thu, 3 Sep 2009 17:14:06 +0000
(20:14 +0300)
committer
paul
<paul@twilight.(none)>
Thu, 3 Sep 2009 17:14:06 +0000
(20:14 +0300)
Rewinding each debugfs entries to unregister if an error happens.
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/clock.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/plat-omap/clock.c
b/arch/arm/plat-omap/clock.c
index e8c327a45a55d120ce3df941703e22455676974c..bf880e966d3b03bd55b73f84656359deea4dc637 100644
(file)
--- a/
arch/arm/plat-omap/clock.c
+++ b/
arch/arm/plat-omap/clock.c
@@
-488,7
+488,7
@@
static int __init clk_debugfs_init(void)
}
return 0;
err_out:
- debugfs_remove
(clk_debugfs_root); /* REVISIT: Cleanup correctly */
+ debugfs_remove
_recursive(clk_debugfs_root);
return err;
}
late_initcall(clk_debugfs_init);