aboutsummaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-11-02 19:27:33 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-03-15 12:27:54 -0700
commit5bc68f4f2d1edeb3e21236d4f37f0e11eac4ac4c (patch)
treedb65c16244bffbae5554f34cbd9d247767eec9f5 /drivers/firmware
parentfe9b93206c9fbc67f97a2d09faae8af30273c14e (diff)
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> (cherry picked from commit c01fc2275e01a91e2243d9202c04f3ed872f9de8)
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions