usb: musb: debugfs: musb_exit_debugfs() can be called on probe
when we fail to probe(), we can call musb_exit_debugfs(). Allow that by removing section annotations. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e618834ef9
commit
b0f9da7e02
@ -289,7 +289,7 @@ err0:
|
||||
return ret;
|
||||
}
|
||||
|
||||
void __exit musb_exit_debugfs(struct musb *musb)
|
||||
void /* __init_or_exit */ musb_exit_debugfs(struct musb *musb)
|
||||
{
|
||||
debugfs_remove_recursive(musb_debugfs_root);
|
||||
}
|
||||
|
Reference in New Issue
Block a user