remoteproc: Split firmware name allocation from rproc_alloc()
authorMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 15 Apr 2020 20:48:53 +0000 (14:48 -0600)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 20 Apr 2020 05:23:20 +0000 (22:23 -0700)
commit0c2ae2b1afdfffa5e485614569d2ff12dee97fc5
treebf1d7b1bdd82871a85f8511f1a1600ffabbbfac5
parent6442df49400b466431979e7634849a464a5f1861
remoteproc: Split firmware name allocation from rproc_alloc()

Make the firmware name allocation a function on its own in an
effort to cleanup function rproc_alloc().

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