summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-02-08 23:27:04 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-12 12:18:31 +0300
commitfaf6efd2e5e23d3319501132d9671c8606ef21bd (patch)
tree8b698b9a557ea0eafb984ee1dc6337c24f62702e /tools/perf/scripts/python/task-analyzer.py
parent104e00bbc76fc2a0fe887649d01d9c15f0e08021 (diff)
downloadlinux-faf6efd2e5e23d3319501132d9671c8606ef21bd.tar.xz
gpio: constify opaque pointer in gpio_device_find() match function
The match function used in gpio_device_find() should not modify the contents of passed opaque pointer, because such modification would not be necessary for actual matching and it could lead to quite unreadable, spaghetti code. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> [Bartosz: fix coding style in header] Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions