aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/nomadik
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-09-30 06:19:40 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-10-20 03:08:26 -0400
commit0564f7d946efc2948999cc26cc0831fdf81c895e (patch)
treeca5b2d2ed9d7df26c7a1e17c245d98fbeec21136 /drivers/pinctrl/nomadik
parent1637d480f873ca305f7f090e3b3bc92430b5892f (diff)
pinctrl: abx500: force-convert to generic config bindings
This converts the ABx500 pin controller and all associated device trees to use the standard, generic config bindings for pin controllers. There are no such device trees deployed in the wild so this is safe to do to set a good example. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/nomadik')
-rw-r--r--drivers/pinctrl/nomadik/pinctrl-abx500.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c
index d0c0454dce0d..7130cd668c96 100644
--- a/drivers/pinctrl/nomadik/pinctrl-abx500.c
+++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c
@@ -931,7 +931,7 @@ static int abx500_dt_subnode_to_map(struct pinctrl_dev *pctldev,
931 const char *gpio_name; 931 const char *gpio_name;
932 const char *pin; 932 const char *pin;
933 933
934 ret = of_property_count_strings(np, "ste,pins"); 934 ret = of_property_count_strings(np, "pins");
935 if (ret < 0) 935 if (ret < 0)
936 goto exit; 936 goto exit;
937 937
@@ -941,7 +941,7 @@ static int abx500_dt_subnode_to_map(struct pinctrl_dev *pctldev,
941 if (ret < 0) 941 if (ret < 0)
942 goto exit; 942 goto exit;
943 943
944 of_property_for_each_string(np, "ste,pins", prop, pin) { 944 of_property_for_each_string(np, "pins", prop, pin) {
945 gpio_name = abx500_find_pin_name(pctldev, pin); 945 gpio_name = abx500_find_pin_name(pctldev, pin);
946 946
947 ret = abx500_dt_add_map_configs(map, reserved_maps, 947 ret = abx500_dt_add_map_configs(map, reserved_maps,