]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd4f1fc78373c7da332fa2c5bf0df57899e0007ff
treefb832c60cdbb947dfccd9d2174c21348f62f7d77
parent7b1c44b608be1f635f5b0ec04ecfa847a81b3695
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