diff options
author | Christophe JAILLET | 2018-03-14 20:56:39 +0100 |
---|---|---|
committer | Bjorn Andersson | 2018-03-18 23:43:46 +0100 |
commit | 99a31adfb2ffbdc6a5cdcec4e119830cf4c19352 (patch) | |
tree | 7d0f957bfd636c20dc280da5e45b22fdabf753b4 /samples | |
parent | remoteproc: imx_rproc: Re-use existing error handling path in 'imx_rproc_prob... (diff) | |
download | kernel-qcow2-linux-99a31adfb2ffbdc6a5cdcec4e119830cf4c19352.tar.gz kernel-qcow2-linux-99a31adfb2ffbdc6a5cdcec4e119830cf4c19352.tar.xz kernel-qcow2-linux-99a31adfb2ffbdc6a5cdcec4e119830cf4c19352.zip |
remoteproc: imx_rproc: Slightly simplify code in 'imx_rproc_probe()'
We can return directly at the beginning of the function and save the 'err'
label.
We can also explicitly return 0 when the probe succeed.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions