gpio: improve error reporting on own descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Jun 2015 09:36:10 +0000 (11:36 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Jun 2015 08:15:46 +0000 (10:15 +0200)
commita713890d32900459031d344748a23ca37758bec5
treee3c7d335134712ec7075cbe5c41ef5f2915b5020
parent8405f2089488c39b10e63b6522fcabc60fbd025a
gpio: improve error reporting on own descriptors

When requesting own descriptors through hogs, it is useful to
get some details about what's going on if we encounter problems.

Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c