diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2020-09-25 18:48:55 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-28 21:50:03 +0200 |
commit | ea470b82f205fc1b0b5276575da519bb7d86db25 (patch) | |
tree | 331d4c5df5c88134b2dc207e387b0e821716b6e3 /drivers/gpio/gpio-sodaville.c | |
parent | Linux 5.9-rc1 (diff) | |
download | linux-ea470b82f205fc1b0b5276575da519bb7d86db25.tar.xz linux-ea470b82f205fc1b0b5276575da519bb7d86db25.zip |
regmap: add support to regmap_field_bulk_alloc/free apis
Usage of regmap_field_alloc becomes much overhead when number of fields
exceed more than 3.
QCOM LPASS driver has extensively converted to use regmap_fields.
Using new bulk api to allocate fields makes it much more cleaner code to read!
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Srinivasa Rao Mandadapu <srivasam@codeaurora.org>
Link: https://lore.kernel.org/r/20200925164856.10315-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-sodaville.c')
0 files changed, 0 insertions, 0 deletions