diff options
author | Mark Brown <broonie@kernel.org> | 2021-01-21 20:38:21 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-21 20:38:21 +0100 |
commit | aa3233086b48e5269cd0b5c16fb9711ce9341244 (patch) | |
tree | c2cfcecd8f33abc5f812e7779a8302f5caa45fe9 /drivers | |
parent | Linux 5.11-rc4 (diff) | |
parent | regmap: Assign boolean values to a bool variable (diff) | |
download | linux-aa3233086b48e5269cd0b5c16fb9711ce9341244.tar.xz linux-aa3233086b48e5269cd0b5c16fb9711ce9341244.zip |
Merge remote-tracking branch 'regmap/for-5.12' into regmap-next
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/regmap/regcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index 7f4b3b62492c..f2469d3435ca 100644 --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c @@ -68,7 +68,7 @@ static int regcache_hw_init(struct regmap *map) map->cache_bypass = cache_bypass; if (ret == 0) { map->reg_defaults_raw = tmp_buf; - map->cache_free = 1; + map->cache_free = true; } else { kfree(tmp_buf); } |