pinctrl: support gpio request deferred probing
authorDong Aisheng <dong.aisheng@linaro.org>
Wed, 25 Apr 2012 11:38:13 +0000 (19:38 +0800)
committerPritesh Raithatha <praithatha@nvidia.com>
Thu, 11 Oct 2012 09:05:58 +0000 (14:05 +0530)
commit7f820a909cbec0840f5ebc43ba44d505be6b33e2
tree9b4b7163974352e3ddddacf58d20a1b650672a73
parent597405eaaab65b350bb9a7c0c245b2520c44296d
pinctrl: support gpio request deferred probing

As pinctrl handles, it may be possible the pinctrl gpio ranges
are still not got registered when user call pinctrl_gpio_request.
Thus, add defer support for it too.

Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit 4650b7cbea4db73f459181f67f939b510e3a17b2)

Change-Id: I9ce3db89b10235afc014485904cc88a61559d68b
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
drivers/pinctrl/core.c