[media] exynos4-is: Remove debugfs entries properly
authorSylwester Nawrocki <[email protected]>
Thu, 18 Apr 2013 17:10:02 +0000 (14:10 -0300)
committerMauro Carvalho Chehab <[email protected]>
Thu, 25 Apr 2013 12:36:37 +0000 (09:36 -0300)
Ensure both debugfs: fimc_is directory and the fw_log file
are properly removed in the driver cleanup sequence.

Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/platform/exynos4-is/fimc-is.c

index c4049d44e68794017d3551edc3ec3889d5e45960..ca72b02022ad4210cf43a347ac38c3b22c33a2f1 100644 (file)
@@ -766,7 +766,7 @@ static const struct file_operations fimc_is_debugfs_fops = {
 
 static void fimc_is_debugfs_remove(struct fimc_is *is)
 {
-       debugfs_remove(is->debugfs_entry);
+       debugfs_remove_recursive(is->debugfs_entry);
        is->debugfs_entry = NULL;
 }