summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2023-03-01 14:38:01 +0300
committerMark Brown <broonie@kernel.org>2023-03-06 02:37:42 +0300
commit0ab4bd5bf277349262065e88eb2feaaabf53584c (patch)
tree78c6f627af63151e807e165ee6db6df5e5ca7e3c /include/linux
parent28ce5698456ab53540093836c6fee15119cf1821 (diff)
downloadlinux-0ab4bd5bf277349262065e88eb2feaaabf53584c.tar.xz
ASoC: mchp-spdiftx: use regmap_update_bits()
Use regmap_update_bits() instead of regmap_read(), running variable, regmap_write(). There is no need for extra variables and checks around it as regmap_update_bits() already does this. With this code becomes simpler. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230301113807.24036-3-claudiu.beznea@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions