diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-12 21:57:48 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-15 21:47:30 +0300 |
commit | ba0294df2dbdc006ffbf037da28bba64e9f6d709 (patch) | |
tree | f68db0d1d9b0b479b92e6b734eb5f1b04f0d9689 /tools/perf/scripts/python | |
parent | a40fe1ffb69b709835a0623959f95d6c81ff38c1 (diff) | |
download | linux-ba0294df2dbdc006ffbf037da28bba64e9f6d709.tar.xz |
gpio: sim: replace memmove() + strstrip() with skip_spaces() + strim()
Turns out we can avoid the memmove() by using skip_spaces() and strim().
We did that in gpio-consumer, let's do it in gpio-sim.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions