aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2023-03-01 13:38:01 +0200
committerMark Brown <broonie@kernel.org>2023-03-05 23:37:42 +0000
commit0ab4bd5bf277349262065e88eb2feaaabf53584c (patch)
tree78c6f627af63151e807e165ee6db6df5e5ca7e3c /tools/perf/scripts/python
parentASoC: mchp-spdiftx: use FIELD_PREP() where possible (diff)
downloadlinux-0ab4bd5bf277349262065e88eb2feaaabf53584c.tar.gz
linux-0ab4bd5bf277349262065e88eb2feaaabf53584c.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions