regmap: mmio: Use swabXX_array() helpers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 31 Aug 2022 21:27:43 +0000 (00:27 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 7 Sep 2022 11:42:26 +0000 (12:42 +0100)
commit400dceb6f8b56472b36c5c2c8c3e0cbb7557d019
tree711fe94ee093f47127b024dc0cac878b9bc0d36a
parent2d4697375dea514be202abf563a9419e74489c25
regmap: mmio: Use swabXX_array() helpers

Since we have a few helpers to swab elements of a given size in an array
use them instead of open coded variants.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220831212744.56435-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-mmio.c