aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2020-05-28 15:45:02 +0000
committerMark Brown <[email protected]>2020-05-29 13:00:42 +0000
commitaa2ff9dbaeddabb5ad166db5f9f1a0580a8bbba8 (patch)
tree5c710c63c6e650e003dfd8e6ed088e3149fd984f /lib
parentLinux 5.7-rc1 (diff)
downloadkernel-aa2ff9dbaeddabb5ad166db5f9f1a0580a8bbba8.tar.gz
kernel-aa2ff9dbaeddabb5ad166db5f9f1a0580a8bbba8.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions