gpio: 74xx-mmio: use bits.h macros for all masks
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 18 Jul 2022 22:02:52 +0000 (01:02 +0300)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 19 Jul 2022 08:14:49 +0000 (10:14 +0200)
commit28ba057456412794198ba6c953aa2042147c2de5
treefb832c60cdbb947dfccd9d2174c21348f62f7d77
parentd3054ba1db6270e14245efa28dbd1cf10207d4f2
gpio: 74xx-mmio: use bits.h macros for all masks

Make use of the GENMASK() (far less error-prone, far more concise).

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-74xx-mmio.c