Skip to content

Commit 5fa9d19

Browse files
rddunlaplinusw
authored andcommitted
pinctrl: aspeed: placate kernel-doc warnings
Eliminate kernel-doc warnings in drivers/pinctrl/aspeed by using proper kernel-doc notation. Fixes these kernel-doc warnings: drivers/pinctrl/aspeed/pinmux-aspeed.c:61: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Query the enabled or disabled state for a mux function's signal on a pin drivers/pinctrl/aspeed/pinctrl-aspeed.c:135: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Search for the signal expression needed to enable the pin's signal for the Signed-off-by: Randy Dunlap <[email protected]> Reported-by: kernel test robot <[email protected]> Cc: Aditya Srivastava <[email protected]> Cc: Andrew Jeffery <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Linus Walleij <[email protected]> Cc: [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 1b73e58 commit 5fa9d19

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

drivers/pinctrl/aspeed/pinctrl-aspeed.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ static int aspeed_disable_sig(struct aspeed_pinmux_data *ctx,
133133
}
134134

135135
/**
136-
* Search for the signal expression needed to enable the pin's signal for the
137-
* requested function.
136+
* aspeed_find_expr_by_name - Search for the signal expression needed to
137+
* enable the pin's signal for the requested function.
138138
*
139139
* @exprs: List of signal expressions (haystack)
140140
* @name: The name of the requested function (needle)

drivers/pinctrl/aspeed/pinmux-aspeed.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ int aspeed_sig_desc_eval(const struct aspeed_sig_desc *desc,
5959
}
6060

6161
/**
62-
* Query the enabled or disabled state for a mux function's signal on a pin
62+
* aspeed_sig_expr_eval - Query the enabled or disabled state for a
63+
* mux function's signal on a pin
6364
*
6465
* @ctx: The driver context for the pinctrl IP
6566
* @expr: An expression controlling the signal for a mux function on a pin

0 commit comments

Comments
 (0)