pinctrl: support gpio request deferred probing
authorDong Aisheng <dong.aisheng@linaro.org>
Wed, 25 Apr 2012 11:38:13 +0000 (19:38 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 May 2012 23:14:20 +0000 (01:14 +0200)
commit4650b7cbea4db73f459181f67f939b510e3a17b2
tree45f277ce5f3b79241091914be30a5c2d1288ee1f
parent5b3aa5f7c6287b1a0698950a91e94546888e553b
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>
drivers/pinctrl/core.c