Commit b75dd872 authored by Andrew Jeffery's avatar Andrew Jeffery Committed by Linus Walleij

pinctrl: aspeed: Fix kerneldoc return descriptions

Signed-off-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Acked-by: default avatarJoel Stanley <joel@jms.id.au>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f1337856
......@@ -97,7 +97,7 @@ static inline void aspeed_sig_desc_print_val(
* @enabled: True to query the enabled state, false to query disabled state
* @regmap: 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
* failure occurred
*
......@@ -134,7 +134,7 @@ static int aspeed_sig_desc_eval(const struct aspeed_sig_desc *desc,
* @enabled: True to query the enabled state, false to query disabled state
* @maps: The list of regmap instances
*
* @return 1 if the expression composed by @enabled evaluates true, 0 if not,
* Return: 1 if the expression composed by @enabled evaluates true, 0 if not,
* and less than zero if an unrecoverable failure occurred.
*
* A mux function is enabled or disabled if the function's signal expression
......@@ -175,7 +175,7 @@ static int aspeed_sig_expr_eval(const struct aspeed_sig_expr *expr,
* expression, false to disable the function's signal
* @maps: The list of regmap instances for pinmux register access.
*
* @return 0 if the expression is configured as requested and a negative error
* Return: 0 if the expression is configured as requested and a negative error
* code otherwise
*/
static int aspeed_sig_expr_set(const struct aspeed_sig_expr *expr,
......@@ -256,7 +256,7 @@ static int aspeed_sig_expr_disable(const struct aspeed_sig_expr *expr,
* @exprs: The list of signal expressions (from a priority level on a pin)
* @maps: The list of regmap instances for pinmux register access.
*
* @return 0 if all expressions are disabled, otherwise a negative error code
* Return: 0 if all expressions are disabled, otherwise a negative error code
*/
static int aspeed_disable_sig(const struct aspeed_sig_expr **exprs,
struct regmap * const *maps)
......@@ -281,7 +281,7 @@ static int aspeed_disable_sig(const struct aspeed_sig_expr **exprs,
* @exprs: List of signal expressions (haystack)
* @name: The name of the requested function (needle)
*
* @return A pointer to the signal expression whose function tag matches the
* Return: A pointer to the signal expression whose function tag matches the
* provided name, otherwise NULL.
*
*/
......
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