remoteproc: imx_rproc: Re-use existing error handling path in 'imx_rproc_probe()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 14 Mar 2018 19:56:38 +0000 (20:56 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 18 Mar 2018 22:43:46 +0000 (15:43 -0700)
commit96a30d7f919f6786d8592599836d94018f9004c4
tree8caa1672c02b796535bc562f3869920855b5fc0f
parentde6f83f85be94e0b7d0d324c29ccc9d78a6bb4e7
remoteproc: imx_rproc: Re-use existing error handling path in 'imx_rproc_probe()'

Avoid some code ducplication and be more future-proof.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/imx_rproc.c