summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-11-20 14:54:18 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-11-21 08:55:10 +0100
commitdfa9751548444caadda2d6de1a2b67e05b34c2aa (patch)
treecc34767ee97e0be020dd9fb4d6fb82a26e29768d /drivers/gpio/gpiolib.c
parent192c369c6165dff233f22aa70209a92b030d233d (diff)
pinctrl: make range registration defer properly
This makes the pinctrl_find_and_add_gpio_range() return -EPROBE_DEFER if the range hosting pin controller cannot be located. We may assume that the common case for why adding a range fails is that the targe pin controller device has not probed yet. 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/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions