gpiolib: Re-use bitmap_fill() instead of open coded loop
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 25 May 2017 13:08:38 +0000 (16:08 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2017 09:32:22 +0000 (11:32 +0200)
commit923a654c186c43734cfac5d7af6940093051bcbc
treed52a8d7e1d2010d11d5caa1fd50ee931ecfff8ea
parent193d092939dd8a8de7474c888ccab3c2eccbc223
gpiolib: Re-use bitmap_fill() instead of open coded loop

Re-use bitmap_fill() instead of open coded loop for setting an area of
bits in a bitmap.

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