diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-03-14 22:56:39 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-03-19 01:43:46 +0300 |
commit | 99a31adfb2ffbdc6a5cdcec4e119830cf4c19352 (patch) | |
tree | 7d0f957bfd636c20dc280da5e45b22fdabf753b4 /samples/Kconfig | |
parent | 96a30d7f919f6786d8592599836d94018f9004c4 (diff) | |
download | linux-99a31adfb2ffbdc6a5cdcec4e119830cf4c19352.tar.xz |
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/Kconfig')
0 files changed, 0 insertions, 0 deletions