mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-01 11:44:45 +07:00
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>
This commit is contained in:
parent
b04b65ab5b
commit
ca4caa4e1d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user