projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1985e
)
sh: clkfwk: Use debugfs_remove_recursive() for rewinding
author
Hiroshi DOYU
<Hiroshi.DOYU@nokia.com>
Mon, 10 May 2010 11:50:55 +0000
(14:50 +0300)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 11 May 2010 02:51:25 +0000
(11:51 +0900)
Rewinding each debugfs entries to unregister if an error happens.
Based on the commit
ca4caa4e1d45f9542fa54263974d0ef637157b4a
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/clock.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/clock.c
b/arch/sh/kernel/cpu/clock.c
index
073f4ff
..
a725c7f
100644
(file)
--- a/
arch/sh/kernel/cpu/clock.c
+++ b/
arch/sh/kernel/cpu/clock.c
@@
-621,7
+621,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);