diff options
author | David S. Miller <davem@davemloft.net> | 2020-06-01 21:35:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-01 21:35:18 +0300 |
commit | e85093618c5ff32c08319d6c5248a5ed1de9ae65 (patch) | |
tree | 8267cd514d805eef1baa7aca1d0607dcf5fb6bff /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bda6752f3de99e9d765638b89aacfb11c07cee06 (diff) | |
parent | 240f1ae40c659713a53f8fa5e4899e7b7350bfed (diff) | |
download | linux-e85093618c5ff32c08319d6c5248a5ed1de9ae65.tar.xz |
Merge branch 'regmap-simple-bit-helpers'
Bartosz Golaszewski says:
====================
regmap: provide simple bitops and use them in a driver
I noticed that oftentimes I use regmap_update_bits() for simple bit
setting or clearing. In this case the fourth argument is superfluous as
it's always 0 or equal to the mask argument.
This series proposes to add simple bit operations for setting, clearing
and testing specific bits with regmap.
The second patch uses all three in a driver that got recently picked into
the net-next tree.
The patches obviously target different trees so - if you're ok with
the change itself - I propose you pick the first one into your regmap
tree for v5.8 and then I'll resend the second patch to add the first
user for these macros for v5.9.
v1 -> v2:
- convert the new macros to static inline functions
v2 -> v3:
- drop unneeded ternary operator
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions