Commit 4f615d57 authored by Hiroshi DOYU's avatar Hiroshi DOYU Committed by 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: default avatarHiroshi DOYU <>
Signed-off-by: default avatarPaul Mundt <>
parent 9e1985e1
......@@ -621,7 +621,7 @@ static int __init clk_debugfs_init(void)
return 0;
debugfs_remove(clk_debugfs_root); /* REVISIT: Cleanup correctly */
return err;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment