Commit 74677701 authored by Joel Stanley's avatar Joel Stanley Committed by Linus Walleij

pinctrl: aspeed: Fix documentation

Fixes these warnings:

  pinctrl-aspeed.c:112: warning: Function parameter or member 'map' not
  described in 'aspeed_sig_desc_eval'
  pinctrl-aspeed.c:112: warning: Excess function parameter 'regmap'
  description in 'aspeed_sig_desc_eval'
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
Reviewed-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a319b561
...@@ -95,7 +95,7 @@ static inline void aspeed_sig_desc_print_val( ...@@ -95,7 +95,7 @@ static inline void aspeed_sig_desc_print_val(
* *
* @desc: The signal descriptor of interest * @desc: The signal descriptor of interest
* @enabled: True to query the enabled state, false to query disabled state * @enabled: True to query the enabled state, false to query disabled state
* @regmap: The IP block's regmap instance * @map: The IP block's regmap instance
* *
* Return: 1 if the descriptor's bitfield is configured to the state * Return: 1 if the descriptor's bitfield is configured to the state
* selected by @enabled, 0 if not, and less than zero if an unrecoverable * selected by @enabled, 0 if not, and less than zero if an unrecoverable
...@@ -594,7 +594,7 @@ static inline const struct aspeed_pin_config *find_pinconf_config( ...@@ -594,7 +594,7 @@ static inline const struct aspeed_pin_config *find_pinconf_config(
/** /**
* @param: pinconf configuration parameter * @param: pinconf configuration parameter
* @arg: The supported argument for @param, or -1 if any value is supported * @arg: The supported argument for @param, or -1 if any value is supported
* @value: The register value to write to configure @arg for @param * @val: The register value to write to configure @arg for @param
* *
* The map is to be used in conjunction with the configuration array supplied * The map is to be used in conjunction with the configuration array supplied
* by the driver implementation. * by the driver implementation.
......
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