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)
commit5ac9d2df5bdd7c4e58700ad42aa7c9356bbf154d
tree07d56fb208dc3fba6b1391c643f12501ee5291ed
parent5a24d4b601561da08a70c065d4630bd9fadb37e8
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