diff options
author | Hiroshi DOYU <Hiroshi.DOYU@nokia.com> | 2009-09-03 13:14:06 -0400 |
---|---|---|
committer | paul <paul@twilight.(none)> | 2009-09-03 13:14:06 -0400 |
commit | ca4caa4e1d45f9542fa54263974d0ef637157b4a (patch) | |
tree | fa9382d5e8d8ce261022e4e0f3615821ea1e950f /arch/arm/plat-omap/clock.c | |
parent | b04b65ab5b4fc86af073424af6295be4e067adf3 (diff) |
OMAP clock: use debugfs_remove_recursive() for rewinding
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>
Diffstat (limited to 'arch/arm/plat-omap/clock.c')
-rw-r--r-- | arch/arm/plat-omap/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c index e8c327a45a55..bf880e966d3b 100644 --- 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) | |||
488 | } | 488 | } |
489 | return 0; | 489 | return 0; |
490 | err_out: | 490 | err_out: |
491 | debugfs_remove(clk_debugfs_root); /* REVISIT: Cleanup correctly */ | 491 | debugfs_remove_recursive(clk_debugfs_root); |
492 | return err; | 492 | return err; |
493 | } | 493 | } |
494 | late_initcall(clk_debugfs_init); | 494 | late_initcall(clk_debugfs_init); |