regmap: Add regmap_set/clear_bits shorthands
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 7 Apr 2025 20:01:52 +0000 (22:01 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 16 Apr 2025 22:51:45 +0000 (16:51 -0600)
commit53e83caa870f45a8470dba85e9bd627f6b3d010d
treedb00b5766f10ed53d09a003cdad555ee54293191
parent92c8047f24d571a34f8159ee48211d1014797c9d
regmap: Add regmap_set/clear_bits shorthands

Port Linux kernel regmap_set/clear_bits shorthands to set and clear bits
in a regmap. These are handy if only specific bits needs to be applied
or cleared and makes it easier to port regmap based driver from kernel
upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
include/regmap.h