commit | 99a31adfb2ffbdc6a5cdcec4e119830cf4c19352 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Wed Mar 14 20:56:39 2018 +0100 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Sun Mar 18 15:43:46 2018 -0700 |
tree | 7d0f957bfd636c20dc280da5e45b22fdabf753b4 | |
parent | 96a30d7f919f6786d8592599836d94018f9004c4 [diff] |
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>