aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-11-20 08:03:37 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-11-21 02:55:10 -0500
commit192c369c6165dff233f22aa70209a92b030d233d (patch)
treec97e539b58e5e4947c82bddd784ce6c63e05b9fb /drivers/gpio
parent3f0f8670608766ef26a178d4e80cad3ce030fecc (diff)
gpiolib: rename find_pinctrl_*
Rename the function find_pinctrl_and_add_gpio_range() to pinctrl_find_and_add_gpio_range() so as to be consistent with the rest of the functions. 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')
-rw-r--r--drivers/gpio/gpiolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 6d13bea4778a..a59d13d746c5 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1216,7 +1216,7 @@ int gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name,
1216 pin_range->range.base = chip->base + offset; 1216 pin_range->range.base = chip->base + offset;
1217 pin_range->range.pin_base = pin_base; 1217 pin_range->range.pin_base = pin_base;
1218 pin_range->range.npins = npins; 1218 pin_range->range.npins = npins;
1219 pin_range->pctldev = find_pinctrl_and_add_gpio_range(pinctl_name, 1219 pin_range->pctldev = pinctrl_find_and_add_gpio_range(pinctl_name,
1220 &pin_range->range); 1220 &pin_range->range);
1221 if (!pin_range->pctldev) { 1221 if (!pin_range->pctldev) {
1222 pr_err("%s: GPIO chip: could not create pin range\n", 1222 pr_err("%s: GPIO chip: could not create pin range\n",