diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-02-10 16:33:34 -0600 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-02-17 13:20:41 +0000 |
| commit | a927e72925c7a8aa2a1cf330c09ce13f4e5b1120 (patch) | |
| tree | 89204d62d4064843d4bd89c15ae169bd8a4a2d6a /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | iio: adc: ad7606: use gpiod_multi_set_value_cansleep (diff) | |
| download | linux-a927e72925c7a8aa2a1cf330c09ce13f4e5b1120.tar.gz linux-a927e72925c7a8aa2a1cf330c09ce13f4e5b1120.zip | |
iio: amplifiers: hmc425a: use gpiod_multi_set_value_cansleep
Reduce verbosity by using gpiod_multi_set_value_cansleep() instead of
gpiod_set_array_value_cansleep().
Passing NULL as the 3rd argument to gpiod_set_array_value_cansleep()
only needs to be done if the array was constructed manually, which is
not the case here. This change effectively replaces that argument with
st->gpios->array_info. The possible side effect of this change is that
it could make setting the GPIOs more efficient.
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-8-d6a673674da8@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
