diff options
author | Dan Carpenter <[email protected]> | 2022-06-16 10:54:24 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2022-07-28 12:55:51 +0300 |
commit | bef11f1edc40cee156c60f9dbbbd9725a56b3639 (patch) | |
tree | b00e0708cd671d719cfa7e0860a45f8f05884ae5 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 70c898d4bad1a21e0889ae12f355ff8c68ce5b9f (diff) |
wifi: brcmfmac: use strreplace() in brcmf_of_probe()
The for loop in brcmf_of_probe() would ideally end with something like
"i <= strlen(board_type)" instead of "i < board_type[i]". But
fortunately, the two are equivalent.
Anyway, it's simpler to use strreplace() instead.
Signed-off-by: Dan Carpenter <[email protected]>
Suggested-by: Johannes Berg <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Acked-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/YqrhsKcjEA7B2pC4@kili
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions