regmap: convert all regmap_update_bits() and co. macros to static inlines
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 15 Jun 2020 07:23:13 +0000 (09:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 21:09:36 +0000 (22:09 +0100)
commit4b9e7edb5afc4e3c27d6623f5008bf53ae96cf1a
tree9abdb9a3ff1a6af738593549b14d6bc335f7c4f7
parent6ed50f88485ce84fae775148182e3b424541e0bc
regmap: convert all regmap_update_bits() and co. macros to static inlines

There's no reason to have these as macros. Let's convert them all to
static inlines for better readability and stronger typing.

Suggested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20200615072313.11106-1-brgl@bgdev.pl
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regmap.h