Browse Source

Merge remote-tracking branch 'regmap/fix/core' into tmp

Mark Brown 12 years ago
parent
commit
6d66df4109
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/base/regmap/regmap.c

+ 2 - 2
drivers/base/regmap/regmap.c

@@ -710,12 +710,12 @@ skip_format_initialization:
 		}
 	}
 
+	regmap_debugfs_init(map, config->name);
+
 	ret = regcache_init(map, config);
 	if (ret != 0)
 		goto err_range;
 
-	regmap_debugfs_init(map, config->name);
-
 	/* Add a devres resource for dev_get_regmap() */
 	m = devres_alloc(dev_get_regmap_release, sizeof(*m), GFP_KERNEL);
 	if (!m) {