diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-11-20 17:56:25 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-21 11:55:11 +0400 |
commit | 8f23ca1a73a096f21e6618d8e23df613daa5e532 (patch) | |
tree | 3a5395021e8468b50e973a3978b497241b94e7de /drivers/pinctrl/core.c | |
parent | dfa9751548444caadda2d6de1a2b67e05b34c2aa (diff) | |
download | linux-8f23ca1a73a096f21e6618d8e23df613daa5e532.tar.xz |
gpiolib: return any error code from range creation
If we try to create a range for a certain GPIO chip and the
target pin controller is not yet available it may return
a probe deferral error code, so handle this all the way
our by checking the error code.
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.c')
0 files changed, 0 insertions, 0 deletions