diff options
author | Yingjoe Chen <yingjoe.chen@mediatek.com> | 2015-11-25 13:13:23 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-12-01 11:11:05 +0100 |
commit | d9ac5e25f1335bb16c638736bf25146a550eb394 (patch) | |
tree | 8e065344367aaae29ad9ea751fef019b510f8301 /drivers/pinctrl/pinconf-generic.c | |
parent | pinctrl: fix a typo in Kconfig (diff) | |
download | linux-d9ac5e25f1335bb16c638736bf25146a550eb394.tar.xz linux-d9ac5e25f1335bb16c638736bf25146a550eb394.zip |
pinctrl: update document for pinconf_generic_parse_dt_config
The returned configs from pinconf_generic_parse_dt_config() is
duplicated from original. Make it clear it must be freed when no
longer necessary.
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf-generic.c')
-rw-r--r-- | drivers/pinctrl/pinconf-generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c index 099a3442ff42..79e6159712c2 100644 --- a/drivers/pinctrl/pinconf-generic.c +++ b/drivers/pinctrl/pinconf-generic.c @@ -220,6 +220,7 @@ static void parse_dt_cfg(struct device_node *np, * parse the config properties into generic pinconfig values. * @np: node containing the pinconfig properties * @configs: array with nconfigs entries containing the generic pinconf values + * must be freed when no longer necessary. * @nconfigs: umber of configurations */ int pinconf_generic_parse_dt_config(struct device_node *np, |