remoteproc: Split rproc_ops allocation from rproc_alloc()
authorMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 20 Apr 2020 23:16:00 +0000 (17:16 -0600)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Apr 2020 02:29:52 +0000 (19:29 -0700)
commitbf860aa176d0104cfbaf863acbadf5548f1172c2
treed9409220d98890dee5f40ce8fdd094b6693e820f
parent9d5f82c8ba2471e34150a0e750ef54089e2a3740
remoteproc: Split rproc_ops allocation from rproc_alloc()

Make the rproc_ops allocation a function on its own in an effort
to clean up function rproc_alloc().

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