aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-u300.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-11-20 14:25:07 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-11-21 08:55:12 +0100
commit9afbefb227792a3c195085d662050dcca748f521 (patch)
tree6ca22f39a4d97a73b2fb37472af596c159210ea7 /drivers/pinctrl/pinctrl-u300.c
parentgpiolib: return any error code from range creation (diff)
downloadlinux-dev-9afbefb227792a3c195085d662050dcca748f521.tar.xz
linux-dev-9afbefb227792a3c195085d662050dcca748f521.zip
pinctrl: add function to retrieve range from pin
This adds a function to the pinctrl core to retrieve the GPIO range associated with a certain pin for a certain controller. This is needed when a pinctrl driver want to look up the corresponding struct gpio_chip for a certain pin. As the GPIO drivers can now create these ranges themselves, the pinctrl driver no longer knows about all its associated GPIO chips. 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/pinctrl-u300.c')
0 files changed, 0 insertions, 0 deletions