commit | f66832dae0ad61732d07c40a3c81adbc935fa1b3 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Fri Nov 14 17:25:01 2014 +0530 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Fri Nov 14 13:32:27 2014 -0800 |
tree | 8f28653270d003c49da859b53c4af75e24273afb | |
parent | 837b3b7c04c1df9dbf5e8dc4b15aaa28e7b6439b [diff] [blame] |
greybus: nullify dangling pointers Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
diff --git a/drivers/staging/greybus/debugfs.c b/drivers/staging/greybus/debugfs.c index ef292f4..4755a36 100644 --- a/drivers/staging/greybus/debugfs.c +++ b/drivers/staging/greybus/debugfs.c
@@ -26,4 +26,5 @@ void gb_debugfs_cleanup(void) { debugfs_remove_recursive(gb_debug_root); + gb_debug_root = NULL; }