gpiolib: Split fastpath array to two
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 25 May 2021 18:35:17 +0000 (21:35 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 28 May 2021 14:13:07 +0000 (16:13 +0200)
commitc80c44352ddadc257410c89a8e044c1804c4f6d2
treea86ae9abdacb1b1879be25871a09a8b8e1742a90
parentbc3aca5393c4d61d7f5ab1dd61b7f2b0536efec6
gpiolib: Split fastpath array to two

Split fastpath array to two, i.e. for mask and for bits.
At the same time declare them as bitmaps.

This makes code better to read and gives a clue about use of
bitmap API.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpiolib.c