Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c3b8712 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Add code to move debugfs removal under defconfig build"

parents b5f895c3 381b91d5
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -904,17 +904,21 @@ int cnss_debugfs_create(struct cnss_plat_data *plat_priv)
out:
	return ret;
}

void cnss_debugfs_destroy(struct cnss_plat_data *plat_priv)
{
	debugfs_remove_recursive(plat_priv->root_dentry);
}
#else
int cnss_debugfs_create(struct cnss_plat_data *plat_priv)
{
	return 0;
}
#endif

void cnss_debugfs_destroy(struct cnss_plat_data *plat_priv)
{
	debugfs_remove_recursive(plat_priv->root_dentry);
}
#endif

int cnss_debug_init(void)
{