pinctrl: Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map
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>
This commit is contained in:

committed by
Linus Walleij

orang tua
20b3d2a79f
melakukan
d32f7fd3bb
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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,
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user