pinctrl: Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map
authorIrina Tirdea <irina.tirdea@intel.com>
Thu, 31 Mar 2016 11:44:42 +0000 (14:44 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 1 Apr 2016 13:06:36 +0000 (15:06 +0200)
Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map, since
it does not depend on device tree despite the current name. This
will enforce a consistent naming in pinctr-utils.c and will make
it clear it can be called from outside device tree (e.g. from
ACPI handling code).

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
32 files changed:
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c
drivers/pinctrl/bcm/pinctrl-nsp-gpio.c
drivers/pinctrl/berlin/berlin.c
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
drivers/pinctrl/meson/pinctrl-meson.c
drivers/pinctrl/nomadik/pinctrl-abx500.c
drivers/pinctrl/nomadik/pinctrl-nomadik.c
drivers/pinctrl/pinconf-generic.c
drivers/pinctrl/pinctrl-amd.c
drivers/pinctrl/pinctrl-as3722.c
drivers/pinctrl/pinctrl-at91-pio4.c
drivers/pinctrl/pinctrl-digicolor.c
drivers/pinctrl/pinctrl-lpc18xx.c
drivers/pinctrl/pinctrl-palmas.c
drivers/pinctrl/pinctrl-pic32.c
drivers/pinctrl/pinctrl-pistachio.c
drivers/pinctrl/pinctrl-tb10x.c
drivers/pinctrl/pinctrl-utils.c
drivers/pinctrl/pinctrl-utils.h
drivers/pinctrl/pinctrl-zynq.c
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
drivers/pinctrl/qcom/pinctrl-msm.c
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
drivers/pinctrl/stm32/pinctrl-stm32.c
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
drivers/pinctrl/tegra/pinctrl-tegra.c
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c

index c3c692e508e8f90913018bd9052513e993c015db..f043b83b18f0096af6ebbecd731f8319243e1dbc 100644 (file)
@@ -1024,7 +1024,7 @@ static struct pinctrl_ops bcm281xx_pinctrl_ops = {
        .get_group_pins = bcm281xx_pinctrl_get_group_pins,
        .pin_dbg_show = bcm281xx_pinctrl_pin_dbg_show,
        .dt_node_to_map = pinconf_generic_dt_node_to_map_pin,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int bcm281xx_pinctrl_get_fcns_count(struct pinctrl_dev *pctldev)
index 9728f3db9126eabf2f858b9f7d7f14555fa6e3bf..f0184dc167307fedd8462c241d7fa8aab70a6340 100644 (file)
@@ -737,7 +737,7 @@ static const struct pinctrl_ops cygnus_pinctrl_ops = {
        .get_group_pins = cygnus_get_group_pins,
        .pin_dbg_show = cygnus_pin_dbg_show,
        .dt_node_to_map = pinconf_generic_dt_node_to_map_group,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int cygnus_get_functions_count(struct pinctrl_dev *pctrl_dev)
index d530ab4b9d85cb4abf77473f6126ab5426b9eb85..9ed98813c7d0a1bde8143c365c5c1afbdb6c570a 100644 (file)
@@ -379,7 +379,7 @@ static const struct pinctrl_ops iproc_pctrl_ops = {
        .get_groups_count = iproc_get_groups_count,
        .get_group_name = iproc_get_group_name,
        .dt_node_to_map = pinconf_generic_dt_node_to_map_pin,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int iproc_gpio_set_pull(struct iproc_gpio *chip, unsigned gpio,
index ac900435dc39eaa118a4a137337f7a36cf0f03f2..6c7d5f500f354d6340d352da2d6b4982ff0bfc47 100644 (file)
@@ -363,7 +363,7 @@ static const struct pinctrl_ops nsp_pctrl_ops = {
        .get_groups_count = nsp_get_groups_count,
        .get_group_name = nsp_get_group_name,
        .dt_node_to_map = pinconf_generic_dt_node_to_map_pin,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int nsp_gpio_set_slew(struct nsp_gpio *chip, unsigned gpio, u16 slew)
index 46f2b4818da3ae3a1c736b172916ab000252d3a2..87b17b77df029aae93bdaff74e3a9b0382c521dd 100644 (file)
@@ -104,7 +104,7 @@ static const struct pinctrl_ops berlin_pinctrl_ops = {
        .get_groups_count       = &berlin_pinctrl_get_group_count,
        .get_group_name         = &berlin_pinctrl_get_group_name,
        .dt_node_to_map         = &berlin_pinctrl_dt_node_to_map,
-       .dt_free_map            = &pinctrl_utils_dt_free_map,
+       .dt_free_map            = &pinctrl_utils_free_map,
 };
 
 static int berlin_pinmux_get_functions_count(struct pinctrl_dev *pctrl_dev)
index 2bbe6f7964a79d9099bd512f2ac430f0b2d96861..8ca82c134260ea6fd805f23bfda8c9a18f8d1bf1 100644 (file)
@@ -605,7 +605,7 @@ static int mtk_pctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
                ret = mtk_pctrl_dt_subnode_to_map(pctldev, np, map,
                                &reserved_maps, num_maps);
                if (ret < 0) {
-                       pinctrl_utils_dt_free_map(pctldev, *map, *num_maps);
+                       pinctrl_utils_free_map(pctldev, *map, *num_maps);
                        of_node_put(np);
                        return ret;
                }
@@ -644,7 +644,7 @@ static int mtk_pctrl_get_group_pins(struct pinctrl_dev *pctldev,
 
 static const struct pinctrl_ops mtk_pctrl_ops = {
        .dt_node_to_map         = mtk_pctrl_dt_node_to_map,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
        .get_groups_count       = mtk_pctrl_get_groups_count,
        .get_group_name         = mtk_pctrl_get_group_name,
        .get_group_pins         = mtk_pctrl_get_group_pins,
index 0bdb8fd3afd18c7bc39934904d0729e29b779add..5bcbd3ee758cca8c4a393e5ff3dca75f6eb40d38 100644 (file)
@@ -171,7 +171,7 @@ static const struct pinctrl_ops meson_pctrl_ops = {
        .get_group_name         = meson_get_group_name,
        .get_group_pins         = meson_get_group_pins,
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_all,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
        .pin_dbg_show           = meson_pin_dbg_show,
 };
 
index 1f7469c9857d6ad14f80a4232aa836ce65d39620..532356823eead5bcb041c1ecb339e5c28aec4f2d 100644 (file)
@@ -937,7 +937,7 @@ static int abx500_dt_node_to_map(struct pinctrl_dev *pctldev,
                ret = abx500_dt_subnode_to_map(pctldev, np, map,
                                &reserved_maps, num_maps);
                if (ret < 0) {
-                       pinctrl_utils_dt_free_map(pctldev, *map, *num_maps);
+                       pinctrl_utils_free_map(pctldev, *map, *num_maps);
                        return ret;
                }
        }
@@ -951,7 +951,7 @@ static const struct pinctrl_ops abx500_pinctrl_ops = {
        .get_group_pins = abx500_get_group_pins,
        .pin_dbg_show = abx500_pin_dbg_show,
        .dt_node_to_map = abx500_dt_node_to_map,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int abx500_pin_config_get(struct pinctrl_dev *pctldev,
index 352406108fa0a3572aa41043a79042c73ec5d1cf..c9c8c17678d72b031eea8d4d8f5e6b3e961e9ac1 100644 (file)
@@ -1612,7 +1612,7 @@ static int nmk_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
                ret = nmk_pinctrl_dt_subnode_to_map(pctldev, np, map,
                                &reserved_maps, num_maps);
                if (ret < 0) {
-                       pinctrl_utils_dt_free_map(pctldev, *map, *num_maps);
+                       pinctrl_utils_free_map(pctldev, *map, *num_maps);
                        return ret;
                }
        }
@@ -1626,7 +1626,7 @@ static const struct pinctrl_ops nmk_pinctrl_ops = {
        .get_group_pins = nmk_get_group_pins,
        .pin_dbg_show = nmk_pin_dbg_show,
        .dt_node_to_map = nmk_pinctrl_dt_node_to_map,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int nmk_pmx_get_funcs_cnt(struct pinctrl_dev *pctldev)
index 79e6159712c2abd43a749cf321eb721b98aebeab..d5bf9fae2ddd425cf32570b668a2c0a5b3aec59f 100644 (file)
@@ -386,7 +386,7 @@ int pinconf_generic_dt_node_to_map(struct pinctrl_dev *pctldev,
        return 0;
 
 exit:
-       pinctrl_utils_dt_free_map(pctldev, *map, *num_maps);
+       pinctrl_utils_free_map(pctldev, *map, *num_maps);
        return ret;
 }
 EXPORT_SYMBOL_GPL(pinconf_generic_dt_node_to_map);
index cc44ae8c8758da08294efcf14a10cd475dc248c1..b0e2ec0daed302c18fa0d50fa18cd387087e768d 100644 (file)
@@ -580,7 +580,7 @@ static const struct pinctrl_ops amd_pinctrl_ops = {
        .get_group_pins         = amd_get_group_pins,
 #ifdef CONFIG_OF
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_group,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 #endif
 };
 
index e844fdc6d3a838a9eb23aafdba02d72343a2ca81..1070bb9fa99d060c9b28086b4ca8400cd1e9eaae 100644 (file)
@@ -201,7 +201,7 @@ static const struct pinctrl_ops as3722_pinctrl_ops = {
        .get_group_name = as3722_pinctrl_get_group_name,
        .get_group_pins = as3722_pinctrl_get_group_pins,
        .dt_node_to_map = pinconf_generic_dt_node_to_map_pin,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int as3722_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev)
index 4429312e848dba2af05ddb3d9da6cb3b2b176248..629b6fefa8e05785fe58549c08e63b463fecfa3a 100644 (file)
@@ -579,7 +579,7 @@ static int atmel_pctl_dt_node_to_map(struct pinctrl_dev *pctldev,
        }
 
        if (ret < 0) {
-               pinctrl_utils_dt_free_map(pctldev, *map, *num_maps);
+               pinctrl_utils_free_map(pctldev, *map, *num_maps);
                dev_err(pctldev->dev, "can't create maps for node %s\n",
                        np_config->full_name);
        }
@@ -592,7 +592,7 @@ static const struct pinctrl_ops atmel_pctlops = {
        .get_group_name         = atmel_pctl_get_group_name,
        .get_group_pins         = atmel_pctl_get_group_pins,
        .dt_node_to_map         = atmel_pctl_dt_node_to_map,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 };
 
 static int atmel_pmx_get_functions_count(struct pinctrl_dev *pctldev)
index f1343d6ca823d5796ecca3581acc1f218072bd60..b347806215e731ecda77fade29517ffc0b7be6a4 100644 (file)
@@ -84,7 +84,7 @@ static struct pinctrl_ops dc_pinctrl_ops = {
        .get_group_name         = dc_get_group_name,
        .get_group_pins         = dc_get_group_pins,
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_pin,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 };
 
 static const char *const dc_functions[] = {
index b1767f7e45d10ed582c174165d75fa80b9606343..e897b63bd1bbefc04030b34ff490b425bdbdc83f 100644 (file)
@@ -1252,7 +1252,7 @@ static const struct pinctrl_ops lpc18xx_pctl_ops = {
        .get_group_name         = lpc18xx_pctl_get_group_name,
        .get_group_pins         = lpc18xx_pctl_get_group_pins,
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_pin,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 };
 
 static struct pinctrl_desc lpc18xx_scu_desc = {
index f7e168044baf9cc3640414cdaf3e671b3e1ae897..8f0163feda28023e1a16912b3e1bb478505c511c 100644 (file)
@@ -656,7 +656,7 @@ static const struct pinctrl_ops palmas_pinctrl_ops = {
        .get_group_name = palmas_pinctrl_get_group_name,
        .get_group_pins = palmas_pinctrl_get_group_pins,
        .dt_node_to_map = pinconf_generic_dt_node_to_map_pin,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int palmas_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev)
index 0b07d4bdab958532f765938252b07d04b4be78af..87ee1c4e70a739f5d7b2070b57635ab41a1fd12b 100644 (file)
@@ -1743,7 +1743,7 @@ static const struct pinctrl_ops pic32_pinctrl_ops = {
        .get_group_name = pic32_pinctrl_get_group_name,
        .get_group_pins = pic32_pinctrl_get_group_pins,
        .dt_node_to_map = pinconf_generic_dt_node_to_map_pin,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int pic32_pinmux_get_functions_count(struct pinctrl_dev *pctldev)
index 856f736cb1a6f0c3da0635da891965831a0f5b0f..846fe91aa1553e95b0415e4055bd61061ba960d1 100644 (file)
@@ -913,7 +913,7 @@ static const struct pinctrl_ops pistachio_pinctrl_ops = {
        .get_group_name = pistachio_pinctrl_get_group_name,
        .get_group_pins = pistachio_pinctrl_get_group_pins,
        .dt_node_to_map = pinconf_generic_dt_node_to_map_pin,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int pistachio_pinmux_get_functions_count(struct pinctrl_dev *pctldev)
index 6546b9bb2e060d5227b868ff49eaef36d534fff4..620af57f10ad92afb4cc1cb66c18051f25646577 100644 (file)
@@ -582,7 +582,7 @@ static struct pinctrl_ops tb10x_pinctrl_ops = {
        .get_group_name   = tb10x_get_group_name,
        .get_group_pins   = tb10x_get_group_pins,
        .dt_node_to_map   = tb10x_dt_node_to_map,
-       .dt_free_map      = pinctrl_utils_dt_free_map,
+       .dt_free_map      = pinctrl_utils_free_map,
 };
 
 static int tb10x_get_functions_count(struct pinctrl_dev *pctl)
index d77693f2cc1b3c45e99d06b8b6dfffbad25d35a9..9189fbafb102acd88b3cb4e0da72457104d04e82 100644 (file)
@@ -122,7 +122,7 @@ int pinctrl_utils_add_config(struct pinctrl_dev *pctldev,
 }
 EXPORT_SYMBOL_GPL(pinctrl_utils_add_config);
 
-void pinctrl_utils_dt_free_map(struct pinctrl_dev *pctldev,
+void pinctrl_utils_free_map(struct pinctrl_dev *pctldev,
              struct pinctrl_map *map, unsigned num_maps)
 {
        int i;
@@ -139,4 +139,4 @@ void pinctrl_utils_dt_free_map(struct pinctrl_dev *pctldev,
        }
        kfree(map);
 }
-EXPORT_SYMBOL_GPL(pinctrl_utils_dt_free_map);
+EXPORT_SYMBOL_GPL(pinctrl_utils_free_map);
index d0ffe1ce200f43dd090f1097d314fcffb007ca76..8f9f2d28c5b854e166399dd842e5e04989ef4f60 100644 (file)
@@ -37,7 +37,7 @@ int pinctrl_utils_add_map_configs(struct pinctrl_dev *pctldev,
 int pinctrl_utils_add_config(struct pinctrl_dev *pctldev,
                unsigned long **configs, unsigned *num_configs,
                unsigned long config);
-void pinctrl_utils_dt_free_map(struct pinctrl_dev *pctldev,
+void pinctrl_utils_free_map(struct pinctrl_dev *pctldev,
                struct pinctrl_map *map, unsigned num_maps);
 
 #endif /* __PINCTRL_UTILS_H__ */
index 76f1abd71e31f351c687112db3600e1b9551c97f..3f1b55f675a5c7e93b31540b67b755efc90d3f12 100644 (file)
@@ -862,7 +862,7 @@ static const struct pinctrl_ops zynq_pctrl_ops = {
        .get_group_name = zynq_pctrl_get_group_name,
        .get_group_pins = zynq_pctrl_get_group_pins,
        .dt_node_to_map = pinconf_generic_dt_node_to_map_all,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 /* pinmux */
index f553313bc2efbcc912be92f5e9a3bc992581de65..6098685f011649ccd4917236cd95d415be092dc8 100644 (file)
@@ -57,7 +57,7 @@ static int pxa2xx_pctrl_get_group_pins(struct pinctrl_dev *pctldev,
 static const struct pinctrl_ops pxa2xx_pctl_ops = {
 #ifdef CONFIG_OF
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_all,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 #endif
        .get_groups_count       = pxa2xx_pctrl_get_groups_count,
        .get_group_name         = pxa2xx_pctrl_get_group_name,
index 8777cf083eef97a3d8aa603a881f6dfa0e5aece9..f9322d4c22948f94ab68c8b4c4c42339216f563b 100644 (file)
@@ -101,7 +101,7 @@ static const struct pinctrl_ops msm_pinctrl_ops = {
        .get_group_name         = msm_get_group_name,
        .get_group_pins         = msm_get_group_pins,
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_group,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 };
 
 static int msm_get_functions_count(struct pinctrl_dev *pctldev)
index 4e12ded3c773eed0a501fc694c8d53dd6b469ca1..857ccfa67986c5b5bf0ec363f366ab681cc10b8e 100644 (file)
@@ -212,7 +212,7 @@ static const struct pinctrl_ops pmic_gpio_pinctrl_ops = {
        .get_group_name         = pmic_gpio_get_group_name,
        .get_group_pins         = pmic_gpio_get_group_pins,
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_group,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 };
 
 static int pmic_gpio_get_functions_count(struct pinctrl_dev *pctldev)
index 2a3e5490a4834ad5a2e3ba2d6ee023228a4f4d6d..4696600558095be2d2180aaeacd15c6c3bea5370 100644 (file)
@@ -235,7 +235,7 @@ static const struct pinctrl_ops pmic_mpp_pinctrl_ops = {
        .get_group_name         = pmic_mpp_get_group_name,
        .get_group_pins         = pmic_mpp_get_group_pins,
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_group,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 };
 
 static int pmic_mpp_get_functions_count(struct pinctrl_dev *pctldev)
index cd8580d9741d23ddf91ea3e7f0466e9f540b4939..ecd784b6c7439fa5849142460ae8b015c5a4c8c4 100644 (file)
@@ -200,7 +200,7 @@ static const struct pinctrl_ops pm8xxx_pinctrl_ops = {
        .get_group_name         = pm8xxx_get_group_name,
        .get_group_pins         = pm8xxx_get_group_pins,
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_group,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 };
 
 static int pm8xxx_get_functions_count(struct pinctrl_dev *pctldev)
index 54a5402a907956e9a175d87e93bf0bb5a30b3a85..ac79021eb2615d928693a2945656579a2e471d92 100644 (file)
@@ -277,7 +277,7 @@ static const struct pinctrl_ops pm8xxx_pinctrl_ops = {
        .get_group_name         = pm8xxx_get_group_name,
        .get_group_pins         = pm8xxx_get_group_pins,
        .dt_node_to_map         = pinconf_generic_dt_node_to_map_group,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 };
 
 static int pm8xxx_get_functions_count(struct pinctrl_dev *pctldev)
index 8deb566ed4cd63477c40c8cf56ccdf40308b7b5e..b97b7c01f942c17707f0f51a027a9254bd7e17e7 100644 (file)
@@ -358,7 +358,7 @@ static int stm32_pctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
                ret = stm32_pctrl_dt_subnode_to_map(pctldev, np, map,
                                &reserved_maps, num_maps);
                if (ret < 0) {
-                       pinctrl_utils_dt_free_map(pctldev, *map, *num_maps);
+                       pinctrl_utils_free_map(pctldev, *map, *num_maps);
                        return ret;
                }
        }
@@ -396,7 +396,7 @@ static int stm32_pctrl_get_group_pins(struct pinctrl_dev *pctldev,
 
 static const struct pinctrl_ops stm32_pctrl_ops = {
        .dt_node_to_map         = stm32_pctrl_dt_node_to_map,
-       .dt_free_map            = pinctrl_utils_dt_free_map,
+       .dt_free_map            = pinctrl_utils_free_map,
        .get_groups_count       = stm32_pctrl_get_groups_count,
        .get_group_name         = stm32_pctrl_get_group_name,
        .get_group_pins         = stm32_pctrl_get_group_pins,
index 2f06029c940543127191cd83dbade0031206e9e4..e58b5f344b34b8339a9a4931830c3974c9f8096a 100644 (file)
@@ -267,7 +267,7 @@ static const struct pinctrl_ops tegra_xusb_padctl_pinctrl_ops = {
        .get_group_name = tegra_xusb_padctl_get_group_name,
        .get_group_pins = tegra_xusb_padctl_get_group_pins,
        .dt_node_to_map = tegra_xusb_padctl_dt_node_to_map,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int tegra_xusb_padctl_get_functions_count(struct pinctrl_dev *pinctrl)
index 49388822c0e9b0a941205685417b7fc6837a5d0f..3f7fce9075ab72a9485940df980948d9164cd45b 100644 (file)
@@ -215,7 +215,7 @@ static int tegra_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
                ret = tegra_pinctrl_dt_subnode_to_map(pctldev, np, map,
                                                      &reserved_maps, num_maps);
                if (ret < 0) {
-                       pinctrl_utils_dt_free_map(pctldev, *map,
+                       pinctrl_utils_free_map(pctldev, *map,
                                *num_maps);
                        of_node_put(np);
                        return ret;
@@ -233,7 +233,7 @@ static const struct pinctrl_ops tegra_pinctrl_ops = {
        .pin_dbg_show = tegra_pinctrl_pin_dbg_show,
 #endif
        .dt_node_to_map = tegra_pinctrl_dt_node_to_map,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int tegra_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev)
index 589872cc8adbbd93bfd94a4b32c58f461b12b890..c9e4a852afa58b912f9c60422e1195df9f961dd6 100644 (file)
@@ -115,7 +115,7 @@ static const struct pinctrl_ops uniphier_pctlops = {
        .pin_dbg_show = uniphier_pctl_pin_dbg_show,
 #endif
        .dt_node_to_map = pinconf_generic_dt_node_to_map_all,
-       .dt_free_map = pinctrl_utils_dt_free_map,
+       .dt_free_map = pinctrl_utils_free_map,
 };
 
 static int uniphier_conf_pin_bias_get(struct pinctrl_dev *pctldev,