gpio: mmio: replace open-coded for_each_set_bit()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 13 Jul 2020 15:44:29 +0000 (18:44 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2020 13:07:18 +0000 (15:07 +0200)
commit761b5c30c206ba1788c6ceb23e5812f319548b52
treebbbfb850a0bad01e0a564ff291cde2cbc6627cae
parent4dc5794cf207a2f9992a91426fe0413aab77e1cd
gpio: mmio: replace open-coded for_each_set_bit()

Use for_each_set_bit() instead of open-coding it to simplify the code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200713154429.23662-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mmio.c