regmap: spi-avmm: Use swabXX_array() helpers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 31 Aug 2022 21:27:44 +0000 (00:27 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 7 Sep 2022 11:42:27 +0000 (12:42 +0100)
commit26cc2a788a1903da3ccff97061099f091255ecaf
tree127df5c4f5883e52695f5719f59b18b2fa79e07a
parent400dceb6f8b56472b36c5c2c8c3e0cbb7557d019
regmap: spi-avmm: 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-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-spi-avmm.c