]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: Simplify default name allocation
authorMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 15 Apr 2020 20:48:54 +0000 (14:48 -0600)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 20 Apr 2020 05:24:54 +0000 (22:24 -0700)
commitb6bde6f108b03205b554a311f58c22fec222976b
tree406ade534939dfd98f76d8366fd94370c0b44c41
parente3f101a48655dfbc4f4de21eef7ce5e00a51b324
remoteproc: Simplify default name allocation

In an effort to cleanup firmware name allocation, replace the
cumbersome mechanic used to allocate a default firmware name with
function kasprintf().

Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200415204858.2448-4-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c