提交 4f615d57 编写于 作者: H Hiroshi DOYU 提交者: Paul Mundt

sh: clkfwk: Use debugfs_remove_recursive() for rewinding

Rewinding each debugfs entries to unregister if an error happens.

Based on the commit ca4caa4eSigned-off-by: NHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 9e1985e1
......@@ -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);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册