summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap
diff options
context:
space:
mode:
authorMark Brown2015-06-17 18:40:07 +0200
committerMark Brown2015-06-17 18:40:07 +0200
commit4705a81b2c1c1f3a31711f959cf87b4da7b2f06e (patch)
tree7bc976300d7fde4bbcd5f284785c7a5751257576 /drivers/base/regmap
parentMerge remote-tracking branch 'regmap/fix/field' into regmap-linus (diff)
parentregmap: drop unneeded goto (diff)
downloadkernel-qcow2-linux-4705a81b2c1c1f3a31711f959cf87b4da7b2f06e.tar.gz
kernel-qcow2-linux-4705a81b2c1c1f3a31711f959cf87b4da7b2f06e.tar.xz
kernel-qcow2-linux-4705a81b2c1c1f3a31711f959cf87b4da7b2f06e.zip
Merge remote-tracking branch 'regmap/topic/core' into regmap-next
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r--drivers/base/regmap/regmap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index 1c76dcb502cf..473f6743874c 100644
--- a/drivers/base/regmap/regmap.c
+++ b/drivers/base/regmap/regmap.c
@@ -2582,10 +2582,7 @@ int regmap_register_patch(struct regmap *map, const struct reg_default *regs,
map->async = true;
ret = _regmap_multi_reg_write(map, regs, num_regs);
- if (ret != 0)
- goto out;
-out:
map->async = false;
map->cache_bypass = bypass;