diff options
| author | Krzysztof Kozlowski <[email protected]> | 2024-02-08 21:27:04 +0100 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2024-02-12 10:18:31 +0100 |
| commit | faf6efd2e5e23d3319501132d9671c8606ef21bd (patch) | |
| tree | 8b698b9a557ea0eafb984ee1dc6337c24f62702e /tools/perf/scripts/python/stackcollapse.py | |
| parent | 104e00bbc76fc2a0fe887649d01d9c15f0e08021 (diff) | |
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 <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
[Bartosz: fix coding style in header]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions