diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-10-30 14:55:52 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-11-08 13:49:57 +0100 |
commit | 752caf9aca6281a0e45825338ac12f54fbc23190 (patch) | |
tree | d0eac79dcec3c436722ca999a8adb95c44c5c1a8 /drivers/pinctrl/ti | |
parent | pinctrl: gemini: Implement clock skew/delay config (diff) | |
download | linux-752caf9aca6281a0e45825338ac12f54fbc23190.tar.xz linux-752caf9aca6281a0e45825338ac12f54fbc23190.zip |
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 'drivers/pinctrl/ti')
0 files changed, 0 insertions, 0 deletions