diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-29 16:32:36 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-29 16:32:36 +0400 |
commit | 65c180fd95993abc31c8770e014ebedade46b623 (patch) | |
tree | 90052dbe66ac706e8689f321bcfa5cc21ccd70e0 /drivers/base/regmap/regcache.c | |
parent | b6752123ccef4eec3c70c20dbdfc05d1674319c5 (diff) | |
parent | 515f2261703d09c6b647a5687b7d657dd5911065 (diff) | |
download | linux-65c180fd95993abc31c8770e014ebedade46b623.tar.xz |
Merge remote-tracking branch 'regmap/topic/cache' into regmap-rbtree
Diffstat (limited to 'drivers/base/regmap/regcache.c')
-rw-r--r-- | drivers/base/regmap/regcache.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index 3455f833e473..e2abd0548e7b 100644 --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c @@ -241,9 +241,6 @@ int regcache_write(struct regmap *map, BUG_ON(!map->cache_ops); - if (!regmap_writeable(map, reg)) - return -EIO; - if (!regmap_volatile(map, reg)) return map->cache_ops->write(map, reg, value); |