diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-10-30 16:03:12 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-11-29 13:51:10 +0100 |
commit | 7f6f50dfb51b141ed2de277d8239c52f15d9742b (patch) | |
tree | 4fbcf63fcb049ba4de71fa8a15363c80b71718e5 /Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt | |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt')
0 files changed, 0 insertions, 0 deletions