diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2025-02-25 20:40:33 +0100 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-03-04 11:29:04 +0100 |
| commit | 732457dc46d62f1df4b2b48c6dbf22b4332da14b (patch) | |
| tree | 536494e7288a35e5144ef5166e2ec6ba13f61ebc /tools/perf/scripts/python/bin | |
| parent | gpiolib: update kerneldocs for value setters (diff) | |
| download | linux-732457dc46d62f1df4b2b48c6dbf22b4332da14b.tar.gz linux-732457dc46d62f1df4b2b48c6dbf22b4332da14b.zip | |
gpiolib: of: Use local variables
Instead of modifying the contents of the array of values read
in from a phandle, use local variables to store the values.
This makes the code easier to read and the array immutable.
Reviewed-by: Alex Elder <elder@riscstar.com>
Tested-by: Yixun Lan <dlan@gentoo.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250225-gpio-ranges-fourcell-v3-1-860382ba4713@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
