drm/tegra: sor - Recursively remove debugfs tree
authorThierry Reding <treding@nvidia.com>
Fri, 25 Apr 2014 14:48:36 +0000 (16:48 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 6 Jun 2014 06:38:30 +0000 (08:38 +0200)
commit9578184efa6b93f71f34744351a6a8caa79d6cda
treec476ef229c27ba0881beccf1af1dadc39bd75482
parent7c4633861f810fb52a75ea45a7ae1df2a14fe745
drm/tegra: sor - Recursively remove debugfs tree

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