summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorChristophe JAILLET2018-03-14 20:56:39 +0100
committerBjorn Andersson2018-03-18 23:43:46 +0100
commit99a31adfb2ffbdc6a5cdcec4e119830cf4c19352 (patch)
tree7d0f957bfd636c20dc280da5e45b22fdabf753b4 /samples/Kconfig
parentremoteproc: imx_rproc: Re-use existing error handling path in 'imx_rproc_prob... (diff)
downloadkernel-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/Kconfig')
0 files changed, 0 insertions, 0 deletions