remoteproc: add helper function to allocate and init rproc_mem_entry struct

This patch introduces rproc_mem_entry_init helper function to
simplify rproc_mem_entry structure allocation and filling by
client.

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
Loic Pallardy 2018-07-27 15:14:40 +02:00 • committed by Bjorn Andersson
commit 72029c901a
2 changed files with 55 additions and 16 deletions