gpio: vr41xx: Bail out on gpiochip_lock_as_irq() error
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 30 Jul 2018 12:38:37 +0000 (15:38 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Aug 2018 21:46:55 +0000 (23:46 +0200)
commitf8ad8aa551af812adf2ba49a554c73cc9daa8d36
tree8ef6c77427c37a99f59309f8f7e1a0ad446e97de
parentd124339da78d1f3b97d1dfa01dc4b52fca2f28e0
gpio: vr41xx: Bail out on gpiochip_lock_as_irq() error

gpiochip_lock_as_irq() may return a few error codes,
bail out if it fails with corresponding returned code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-vr41xx.c