]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pca953x: Use bitmap API over implicit GCC extension
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 30 Sep 2020 14:20:12 +0000 (17:20 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 1 Oct 2020 08:00:17 +0000 (10:00 +0200)
commit8717ff3b29a6b30425eecdd90cdc46fa84bd3364
tree07a41fdc1f9546fd8dd9f3e4354875db6c5a228b
parent9b29132e5aaf225d84daacc1ceb943e6a0da800d
gpio: pca953x: Use bitmap API over implicit GCC extension

In IRQ handler we have to clear bitmap before use. Currently
the GCC extension has been used for that. For sake of the consistency
switch to bitmap API. As expected bloat-o-meter shows no difference
in the object size.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20200930142013.59247-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c