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

Commit 450f5f54 authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mauro Carvalho Chehab
Browse files

[media] exynos4-is: Remove debugfs entries properly



Ensure both debugfs: fimc_is directory and the fw_log file
are properly removed in the driver cleanup sequence.

Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 11551ca3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -766,7 +766,7 @@ static const struct file_operations fimc_is_debugfs_fops = {


static void fimc_is_debugfs_remove(struct fimc_is *is)
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;
	is->debugfs_entry = NULL;
}
}