Commit 400dceb
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>1 parent 2d46973 commit 400dceb
1 file changed
Lines changed: 4 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
348 | | - | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
| 385 | + | |
389 | 386 | | |
390 | | - | |
391 | 387 | | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
| 388 | + | |
396 | 389 | | |
397 | | - | |
398 | 390 | | |
399 | 391 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
| 392 | + | |
404 | 393 | | |
405 | | - | |
406 | 394 | | |
407 | 395 | | |
408 | 396 | | |
| |||
0 commit comments