diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-06-23 11:19:14 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-23 11:19:14 +0200 |
commit | dd032e8dc55254cb22b529901889c5a5b9c03177 (patch) | |
tree | 972ce7afece5db6481f90d0f43ed64f5f967a437 /drivers/pinctrl/pinconf-generic.c | |
parent | pinctrl: Flag strict is a field in struct pinmux_ops (diff) | |
parent | pinctrl: pinconf: Add generic helper function for freeing mappings (diff) | |
download | linux-dd032e8dc55254cb22b529901889c5a5b9c03177.tar.xz linux-dd032e8dc55254cb22b529901889c5a5b9c03177.zip |
Merge branch 'devel-dt-free-map' into devel
Diffstat (limited to 'drivers/pinctrl/pinconf-generic.c')
-rw-r--r-- | drivers/pinctrl/pinconf-generic.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c index 34b601b06764..5020ae534479 100644 --- a/drivers/pinctrl/pinconf-generic.c +++ b/drivers/pinctrl/pinconf-generic.c @@ -395,4 +395,12 @@ exit: } EXPORT_SYMBOL_GPL(pinconf_generic_dt_node_to_map); +void pinconf_generic_dt_free_map(struct pinctrl_dev *pctldev, + struct pinctrl_map *map, + unsigned num_maps) +{ + pinctrl_utils_free_map(pctldev, map, num_maps); +} +EXPORT_SYMBOL_GPL(pinconf_generic_dt_free_map); + #endif |