diff options
author | Hiroshi DOYU <Hiroshi.DOYU@nokia.com> | 2010-05-10 07:50:55 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-10 22:51:25 -0400 |
commit | 4f615d575c17195f975cf8314be54f362d859a3f (patch) | |
tree | 93329c42b2bb71d090c23af56384a8d80f9ff6d3 /arch/sh/kernel/cpu | |
parent | 9e1985e13d42b4b66af94637346849565174309d (diff) |
sh: clkfwk: Use debugfs_remove_recursive() for rewinding
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>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r-- | arch/sh/kernel/cpu/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/clock.c b/arch/sh/kernel/cpu/clock.c index 073f4ffe956a..a725c7feb747 100644 --- 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) | |||
621 | } | 621 | } |
622 | return 0; | 622 | return 0; |
623 | err_out: | 623 | err_out: |
624 | debugfs_remove(clk_debugfs_root); /* REVISIT: Cleanup correctly */ | 624 | debugfs_remove_recursive(clk_debugfs_root); |
625 | return err; | 625 | return err; |
626 | } | 626 | } |
627 | late_initcall(clk_debugfs_init); | 627 | late_initcall(clk_debugfs_init); |