> [Some people who received this message don't often get email from > ti...@kernel.org. Learn why this is important at > https://aka.ms/LearnAboutSenderIdentification ] > > On Mon, Apr 28, 2025 at 6:19 AM Wei Fang <wei.f...@nxp.com> wrote: > > +void enetc_remove_debugfs(struct enetc_si *si) > > +{ > > + debugfs_remove_recursive(si->debugfs_root); > > You can just call debugfs_remove() here. debugfs_remove_recursive() > is deprecated: > > void debugfs_remove(struct dentry *dentry); > #define debugfs_remove_recursive debugfs_remove
Okay, I will replace it with debugfs_remove(), thanks