summaryrefslogtreecommitdiff
path: root/usr/initramfs_data.S
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-06-16 10:54:24 +0300
committerKalle Valo <kvalo@kernel.org>2022-07-28 12:55:51 +0300
commitbef11f1edc40cee156c60f9dbbbd9725a56b3639 (patch)
treeb00e0708cd671d719cfa7e0860a45f8f05884ae5 /usr/initramfs_data.S
parent70c898d4bad1a21e0889ae12f355ff8c68ce5b9f (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 <dan.carpenter@oracle.com> Suggested-by: Johannes Berg <johannes@sipsolutions.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/YqrhsKcjEA7B2pC4@kili
Diffstat (limited to 'usr/initramfs_data.S')
0 files changed, 0 insertions, 0 deletions