mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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
This commit is contained in:
@@ -68,7 +68,7 @@ static int regcache_hw_init(struct regmap *map)
|
|||||||
map->cache_bypass = cache_bypass;
|
map->cache_bypass = cache_bypass;
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
map->reg_defaults_raw = tmp_buf;
|
map->reg_defaults_raw = tmp_buf;
|
||||||
map->cache_free = 1;
|
map->cache_free = true;
|
||||||
} else {
|
} else {
|
||||||
kfree(tmp_buf);
|
kfree(tmp_buf);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user