diff options
author | 2025-02-13 20:24:01 +0200 | |
---|---|---|
committer | 2025-02-17 14:27:35 +0100 | |
commit | 23318614f8c146d440e57a69d7171dd8c0d249b7 (patch) | |
tree | 4f87a4f843bfb887e1255d026114bd09e7bdf7c9 /drivers/gpio/gpio-regmap.c | |
parent | drm: Move for_each_if() to util_macros.h for wider use (diff) | |
download | wireguard-linux-23318614f8c146d440e57a69d7171dd8c0d249b7.tar.xz wireguard-linux-23318614f8c146d440e57a69d7171dd8c0d249b7.zip |
gpiolib: Switch to use for_each_if() helper
The for_each_*() APIs that are conditional can be written shorter and
less error prone with for_each_if() helper in use. Switch them to use
this helper.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250213182527.3092371-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-regmap.c')
0 files changed, 0 insertions, 0 deletions