commit | 752caf9aca6281a0e45825338ac12f54fbc23190 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Mon Oct 30 14:55:52 2017 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Nov 08 13:49:57 2017 +0100 |
tree | d0eac79dcec3c436722ca999a8adb95c44c5c1a8 | |
parent | 60ad481f74a6d5ffb38e2c2ea325324e82081e7e [diff] |
pinctrl: max77620: Use common error handling code in max77620_pinconf_set() * 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: Linus Walleij <linus.walleij@linaro.org>