remoteproc: Remove vdev_to_rvdev and vdev_to_rproc from remoteproc API
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Fri, 1 Oct 2021 10:12:30 +0000 (12:12 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 15 Oct 2021 14:49:55 +0000 (09:49 -0500)
commit9955548919c47a6987b40d90a30fd56bbc043e7b
treed80104dac8911591e58af842f6a705f1f24d3e40
parentc34bfafd7c6ce8bdb5205aa990973b6ec7a6557c
remoteproc: Remove vdev_to_rvdev and vdev_to_rproc from remoteproc API

These both functions are only used by the remoteproc_virtio.
There is no reason to expose them in the API.
Move the functions in remoteproc_virtio.c

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211001101234.4247-4-arnaud.pouliquen@foss.st.com
drivers/remoteproc/remoteproc_virtio.c
include/linux/remoteproc.h