commit | 7f6f50dfb51b141ed2de277d8239c52f15d9742b | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Mon Oct 30 16:03:12 2017 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Nov 29 13:51:10 2017 +0100 |
tree | 4fbcf63fcb049ba4de71fa8a15363c80b71718e5 | |
parent | cb5fda413e1d4a857bf4fd0bc92e9de0f1ff9e9d [diff] |
pinctrl: mcp23s08: Improve unlocking of a mutex in mcp23s08_irq() * Add a jump target so that a call of the function "mutex_unlock" is stored only twice in this function implementation. * Replace five calls by goto statements. * Adjust five 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>