mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
Merge remote-tracking branch 'regmap/fix/core' into tmp
This commit is contained in:
commit
6d66df4109
1 changed files with 2 additions and 2 deletions
|
@ -710,12 +710,12 @@ struct regmap *regmap_init(struct device *dev,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
regmap_debugfs_init(map, config->name);
|
||||||
|
|
||||||
ret = regcache_init(map, config);
|
ret = regcache_init(map, config);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
goto err_range;
|
goto err_range;
|
||||||
|
|
||||||
regmap_debugfs_init(map, config->name);
|
|
||||||
|
|
||||||
/* Add a devres resource for dev_get_regmap() */
|
/* Add a devres resource for dev_get_regmap() */
|
||||||
m = devres_alloc(dev_get_regmap_release, sizeof(*m), GFP_KERNEL);
|
m = devres_alloc(dev_get_regmap_release, sizeof(*m), GFP_KERNEL);
|
||||||
if (!m) {
|
if (!m) {
|
||||||
|
|
Loading…
Reference in a new issue