]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3ed01c7e8b4ebdb0dfe6271dd81be10cc1f0447
treebbbfb850a0bad01e0a564ff291cde2cbc6627cae
parente65e8d58e28a16822d08d14478391f962943296c
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