]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: 74x164: Make use of the macros from bits.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 7 Feb 2025 15:17:11 +0000 (17:17 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 11 Feb 2025 08:40:03 +0000 (09:40 +0100)
commite742e6b02d858ff9f6a7b43d0b1b5aae9c7e5cf5
tree8d68a9389074dcd3186bf94576f274382e77eba9
parentd746cc6e64027e331769f871a595a3dd2c6b30ff
gpio: 74x164: Make use of the macros from bits.h

Make use of BIT() and GENMASK() where it makes sense.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250207151825.2122419-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-74x164.c