gpio: dwapb: Use "stride" rather than "size" for register distance
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 8 Feb 2018 16:03:58 +0000 (17:03 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Feb 2018 14:30:44 +0000 (15:30 +0100)
commit89f99feb9c73d823d15f40599d998eb11a228465
tree59f97d8edf8b60c6956958fe66b7966a02348076
parent63f2dc0a76120e07c7482c7c95b2254fad39b343
gpio: dwapb: Use "stride" rather than "size" for register distance

This terminology is more precise. Also cut the stride calculation
in the preprocessor, it confuses more than it helps when reading
the driver.

Acked-by: Hoan Tran <hotran@apm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-dwapb.c