pinctrl: update document for pinconf_generic_parse_dt_config
authorYingjoe Chen <yingjoe.chen@mediatek.com>
Wed, 25 Nov 2015 12:13:23 +0000 (20:13 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Dec 2015 10:11:05 +0000 (11:11 +0100)
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>
drivers/pinctrl/pinconf-generic.c

index 099a3442ff4214b2ab55497a93d49774e89d1c65..79e6159712c2abd43a749cf321eb721b98aebeab 100644 (file)
@@ -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,