gpiolib: Deduplicate find_first_zero_bit() call
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 30 Jun 2020 09:21:46 +0000 (12:21 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 30 Jun 2020 10:39:14 +0000 (12:39 +0200)
commitae66eca000cfef3ef0e31842102e17b1b660b1ce
treed8494c87966efb9b047880234fb375eaecaa86a2
parentf02a03985d06c5a39605a0b8a6206af0f9ec7b03
gpiolib: Deduplicate find_first_zero_bit() call

bitmap_full() is a shortcut to find_first_zero_bit().
Thus, no need to call it twice.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpiolib.c