diff options
author | David Lechner <dlechner@baylibre.com> | 2025-02-10 16:33:33 -0600 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-02-17 13:20:36 +0000 |
commit | f23209e9758a27c828606251f0895a2bbcb58235 (patch) | |
tree | 5eb22d73ef45e4283cb34f4c41edf84e373eba03 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b2881a480b3ecd1c04292b148444dd9ef9cf56c0 (diff) |
iio: adc: ad7606: use gpiod_multi_set_value_cansleep
Reduce verbosity by using gpiod_multi_set_value_cansleep() instead of
gpiod_set_array_value().
These are not called in an atomic context, so changing to the cansleep
variant is fine.
Also drop unnecessary braces while we are at it.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250210-gpio-set-array-helper-v3-7-d6a673674da8@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions