diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-07-30 15:38:32 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-08-06 23:46:55 +0200 |
commit | 9b073332dd12553751951b08f78d7d1416f5bee2 (patch) | |
tree | 2dd54d3938deabd24dbfa9b2490047cbcd2a8f15 /lib/stmp_device.c | |
parent | 3a2f335c418fed18fc3e4b3d0ee0955e8b2c5f21 (diff) |
gpio: bcm-kona: 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: Ray Jui <rjui@broadcom.com>
Cc: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions