diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-09 15:14:41 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-11 13:58:06 +0200 |
commit | 39df52ddd932244f2cc08ce520ad064b7dc8c278 (patch) | |
tree | c7960726e1c1c7bb289a0e705e82e7833f9109b2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 87d0688483f56c748b37a5298bdc382df5cf8f74 (diff) |
gpio: sim: use sysfs_streq() and avoid an strdup()
When comparing strings passed to us from configfs, we can pass the page
argument directly to sysfs_streq() and avoid manual string trimming.
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions