Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
brcmfmac: of: Use devm_kstrdup for board_type & check for errors
This was missing a NULL check, and we can collapse the strlen/alloc/copy into a devm_kstrdup(). Signed-off-by: Hector Martin <marcan@marcan.st>
- Loading branch information