diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-22 18:12:22 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-22 18:12:22 +0100 |
commit | 05a6fb94a6e1774eb529e1365ddc2783de614e88 (patch) | |
tree | 3a0246ed5f7c94b3c942199db7ce3f077fe02a7a | |
parent | Merge tag 'linux-watchdog-5.12-rc1' of git://www.linux-watchdog.org/linux-wat... (diff) | |
parent | Merge remote-tracking branch 'regmap/for-5.12' into regmap-next (diff) | |
download | linux-05a6fb94a6e1774eb529e1365ddc2783de614e88.tar.xz linux-05a6fb94a6e1774eb529e1365ddc2783de614e88.zip |
Merge tag 'regmap-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap
Pull regmap update from Mark Brown:
"Just one simple code style improvement this time, no features.
There is an addition to add a new SoundWire regmap type but that
should be coming via the SoundWire tree as the support for the
underlying bus features was only added this cycle"
* tag 'regmap-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
regmap: Assign boolean values to a bool variable
-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); } |