regmap: Update for v5.12

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.
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmAq2RQACgkQJNaLcl1U
 h9Dgmgf+KXNfzSmDSP3ysyfA3CS07NKAOh2WpmKLuKNq0/b4b0Z28YNy1Fm47C+a
 MwgcyTitzu4cSsRa2jxdqdZ4q+W8rKlQHpgw0tLcu9sq34Ky856rOCHWOXqYb0M2
 yFiJvS+8koTxsMe4bXr2SGO1J2MomXei7Ki6ewHEHMpZvMBwN6Ew3520QEqCbLy4
 slp21fPnM+uQP9b5o/cNbvPvJQsLf4aU9EOFTxJJfplLXxNege4P4fa+wX2GQeGm
 Ent7njQHT1l27PY9KHpWSCg8INit/iEEzYJ9XzuXv6682WxvYtDMC/CYmmH7rnKu
 ccklGJdhgd1y71DNC953noemybis0g==
 =INU0
 -----END PGP SIGNATURE-----

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:
Linus Torvalds 2021-02-22 09:12:22 -08:00
commit 05a6fb94a6

View file

@ -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);
}