diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-10-30 16:55:52 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-11-08 15:49:57 +0300 |
commit | 752caf9aca6281a0e45825338ac12f54fbc23190 (patch) | |
tree | d0eac79dcec3c436722ca999a8adb95c44c5c1a8 /README | |
parent | 60ad481f74a6d5ffb38e2c2ea325324e82081e7e (diff) | |
download | linux-752caf9aca6281a0e45825338ac12f54fbc23190.tar.xz |
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions