summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-04-07 21:22:39 +0100
committerMark Brown <broonie@kernel.org>2021-04-07 21:22:39 +0100
commit78d889705732ba856feee4d7bfa74a12fe48c480 (patch)
treea0c51ae3073f0e8bbe4d0f2f615a7411c9151150 /drivers/base
parente49d033bddf5b565044e2abe4241353959bc9120 (diff)
parente41a962f82e7afb5b1ee644f48ad0b3aee656268 (diff)
Merge remote-tracking branch 'regmap/for-5.12' into regmap-linus
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/regmap/regmap-debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c
index ff2ee87987c7..211a335a608d 100644
--- a/drivers/base/regmap/regmap-debugfs.c
+++ b/drivers/base/regmap/regmap-debugfs.c
@@ -660,6 +660,7 @@ void regmap_debugfs_exit(struct regmap *map)
regmap_debugfs_free_dump_cache(map);
mutex_unlock(&map->cache_lock);
kfree(map->debugfs_name);
+ map->debugfs_name = NULL;
} else {
struct regmap_debugfs_node *node, *tmp;