Skip to content

Commit

Permalink
[media] exynos4-is: Remove debugfs entries properly
Browse files Browse the repository at this point in the history
Ensure both debugfs: fimc_is directory and the fw_log file
are properly removed in the driver cleanup sequence.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Sylwester Nawrocki authored and Mauro Carvalho Chehab committed Apr 25, 2013
1 parent 11551ca commit 450f5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/exynos4-is/fimc-is.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 450f5f5

Please sign in to comment.