diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-05-28 18:45:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-01 21:35:18 +0300 |
commit | bfad978116c2aa3b693701059923de4561196f9b (patch) | |
tree | 0a1a6d62f5f065988dd1549d88cd12589df8e854 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bda6752f3de99e9d765638b89aacfb11c07cee06 (diff) | |
download | linux-bfad978116c2aa3b693701059923de4561196f9b.tar.xz |
regmap: provide helpers for simple bit operations
In many instances regmap_update_bits() is used for simple bit setting
and clearing. In these cases the last argument is redundant and we can
hide it with a static inline function.
This adds three new helpers for simple bit operations: set_bits,
clear_bits and test_bits (the last one defined as a regular function).
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions