]> git.baikalelectronics.ru Git - kernel.git/commit
gpio-adnp: Use common error handling code in adnp_gpio_dbg_show()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 22 Oct 2017 18:21:55 +0000 (20:21 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 31 Oct 2017 09:09:04 +0000 (10:09 +0100)
commit95347e9673d995cea58172e0ee262dad84fb08d8
tree07d56fb208dc3fba6b1391c643f12501ee5291ed
parent952d53426132c684fa9c984209da47d96e09ab31
gpio-adnp: Use common error handling code in adnp_gpio_dbg_show()

Add a jump target so that a bit of exception handling can be better reused
at the end of this function.

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>
drivers/gpio/gpio-adnp.c