diff options
| author | Bartosz Golaszewski <[email protected]> | 2024-06-10 16:05:46 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2024-06-11 21:38:41 +0200 |
| commit | 8a05de23adabc4d982dfdeabc184a267f7a50491 (patch) | |
| tree | 849656b52d9861a4e8105a4d4060f0329d628771 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 7f1e45f4ae7671550e15354ef87194bccd99ecec (diff) | |
gpio: sim: use device_match_name() instead of strcmp(dev_name(...
Use the dedicated helper for comparing device names against strings.
While at it: reshuffle the code a bit for less indentation.
Suggested-by: Andy Shevchenko <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions