diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-11-02 19:27:33 +0100 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-01-01 00:29:09 -0600 |
commit | c01fc2275e01a91e2243d9202c04f3ed872f9de8 (patch) | |
tree | b8f8b0ede6c7c27084d739cf59699a3f927a205e /drivers/of | |
parent | 3830d0771ef66a3bb9ab57b70630b3598593a4f0 (diff) | |
download | linux-stable-c01fc2275e01a91e2243d9202c04f3ed872f9de8.tar.gz linux-stable-c01fc2275e01a91e2243d9202c04f3ed872f9de8.tar.bz2 linux-stable-c01fc2275e01a91e2243d9202c04f3ed872f9de8.zip |
soc: qcom: smp2p: Use common error handling code in qcom_smp2p_probe()
* Add a jump target so that a specific error message is stored only once
at the end of this function implementation.
* Replace two calls of the function "dev_err" by goto statements.
* Adjust two condition checks.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions