projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c46338
)
drm/tegra: sor - Recursively remove debugfs tree
author
Thierry Reding
<treding@nvidia.com>
Fri, 25 Apr 2014 14:48:36 +0000
(16:48 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Fri, 6 Jun 2014 06:38:30 +0000
(08:38 +0200)
Removing only the root directory will fail when there are still files in
it. Instead of manually removing all files, remove the whole directory
recursively.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/sor.c
b/drivers/gpu/drm/tegra/sor.c
index 5c67d97bd21d31c76812e4656ece1714c6971fa9..06f80091773818ec6ee9b4c7332da9d34999bf06 100644
(file)
--- a/
drivers/gpu/drm/tegra/sor.c
+++ b/
drivers/gpu/drm/tegra/sor.c
@@
-1036,7
+1036,7
@@
remove:
static int tegra_sor_debugfs_exit(struct tegra_sor *sor)
{
- debugfs_remove(sor->debugfs);
+ debugfs_remove
_recursive
(sor->debugfs);
sor->debugfs = NULL;
return 0;