Skip to content

Commit 333944c

Browse files
Souptick Joarderlinusw
authored andcommitted
pinctrl: aspeed: Fix minor documentation error
Kernel test robot throws below warning -> drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c:2705: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c:2614: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/pinctrl/aspeed/pinctrl-aspeed.c:111: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/pinctrl/aspeed/pinmux-aspeed.c:24: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Fix minor documentation error. Reported-by: kernel test robot <[email protected]> Signed-off-by: Souptick Joarder <[email protected]> Cc: Randy Dunlap <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Acked-by: Andrew Jeffery <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 6efb943 commit 333944c

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2702,8 +2702,8 @@ static int aspeed_g5_sig_expr_eval(struct aspeed_pinmux_data *ctx,
27022702
}
27032703

27042704
/**
2705-
* Configure a pin's signal by applying an expression's descriptor state for
2706-
* all descriptors in the expression.
2705+
* aspeed_g5_sig_expr_set() - Configure a pin's signal by applying an
2706+
* expression's descriptor state for all descriptors in the expression.
27072707
*
27082708
* @ctx: The pinmux context
27092709
* @expr: The expression associated with the function whose signal is to be

drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2611,8 +2611,8 @@ static struct aspeed_pin_config aspeed_g6_configs[] = {
26112611
};
26122612

26132613
/**
2614-
* Configure a pin's signal by applying an expression's descriptor state for
2615-
* all descriptors in the expression.
2614+
* aspeed_g6_sig_expr_set() - Configure a pin's signal by applying an
2615+
* expression's descriptor state for all descriptors in the expression.
26162616
*
26172617
* @ctx: The pinmux context
26182618
* @expr: The expression associated with the function whose signal is to be

drivers/pinctrl/aspeed/pinctrl-aspeed.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ static int aspeed_sig_expr_disable(struct aspeed_pinmux_data *ctx,
108108
}
109109

110110
/**
111-
* Disable a signal on a pin by disabling all provided signal expressions.
111+
* aspeed_disable_sig() - Disable a signal on a pin by disabling all provided
112+
* signal expressions.
112113
*
113114
* @ctx: The pinmux context
114115
* @exprs: The list of signal expressions (from a priority level on a pin)

drivers/pinctrl/aspeed/pinmux-aspeed.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ static inline void aspeed_sig_desc_print_val(
2121
}
2222

2323
/**
24-
* Query the enabled or disabled state of a signal descriptor
24+
* aspeed_sig_desc_eval() - Query the enabled or disabled state of a signal
25+
* descriptor.
2526
*
2627
* @desc: The signal descriptor of interest
2728
* @enabled: True to query the enabled state, false to query disabled state

0 commit comments

Comments
 (0)