pinctrl: intel: Don't shadow error code of gpiochip_lock_as_irq()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 30 Jul 2018 12:38:30 +0000 (15:38 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 3 Aug 2018 17:42:58 +0000 (19:42 +0200)
commitcb85d2b04b408ba8328eb5fa1e184cc538ba8c6a
tree32c7fb630b2628efdc29338ea5871d4199dad731
parentb5031b7db77dc47f474f0efc2b2552c32b7bb59d
pinctrl: intel: Don't shadow error code of gpiochip_lock_as_irq()

gpiochip_lock_as_irq() may return a few error codes,
do not shadow them by -EINVAL and let caller to decide.

No functional change intended.

Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-intel.c