Commit b4dab774 authored by Lee Jones's avatar Lee Jones Committed by Linus Walleij

pinctrl: pinconf-generic: Add function parameter description 'pctldev'

Fix a spelling/typo while we're here.

Fixes the following W=1 kernel build warning(s):

 drivers/pinctrl/pinconf-generic.c:242: warning: Function parameter or member 'pctldev' not described in 'pinconf_generic_parse_dt_config'
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200713144930.1034632-15-lee.jones@linaro.orgSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0b93a57a
...@@ -231,9 +231,10 @@ static void parse_dt_cfg(struct device_node *np, ...@@ -231,9 +231,10 @@ static void parse_dt_cfg(struct device_node *np,
* pinconf_generic_parse_dt_config() * pinconf_generic_parse_dt_config()
* parse the config properties into generic pinconfig values. * parse the config properties into generic pinconfig values.
* @np: node containing the pinconfig properties * @np: node containing the pinconfig properties
* @pctldev: pincontrol device
* @configs: array with nconfigs entries containing the generic pinconf values * @configs: array with nconfigs entries containing the generic pinconf values
* must be freed when no longer necessary. * must be freed when no longer necessary.
* @nconfigs: umber of configurations * @nconfigs: number of configurations
*/ */
int pinconf_generic_parse_dt_config(struct device_node *np, int pinconf_generic_parse_dt_config(struct device_node *np,
struct pinctrl_dev *pctldev, struct pinctrl_dev *pctldev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment