OMAP clock: use debugfs_remove_recursive() for rewinding
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Thu, 3 Sep 2009 17:14:06 +0000 (20:14 +0300)
committerpaul <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

index e8c327a45a55d120ce3df941703e22455676974c..bf880e966d3b03bd55b73f84656359deea4dc637 100644 (file)
@@ -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);
This page took 0.024607 seconds and 5 git commands to generate.