Skip to contentSkip to conversation

linux/clk.h: use correct kernel-doc notation for 2 functions

PATCH Applied Randy Dunlap 2 participants 2 messages Jan 7, 2021 – Jan 12, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/clk.h: use correct kernel-doc notation for 2 functions

Fix kernel-doc notation for 2 functions so that the generated html is correct. Currently it skips all text between the ':' and the '-', so "[un]register a clock rate" is missing.

Fixes 86bcfa2e87c4 ("clk: add pr_debug & kerneldoc around clk notifiers")
Cc Mike Turquette <[email protected]>
Cc Russell King <[email protected]>
---
 include/linux/clk.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/clk.h +2 -2
@@ -92,7 +92,7 @@ struct clk_bulk_data {
 #ifdef CONFIG_COMMON_CLK
 
 /**
- * clk_notifier_register: register a clock rate-change notifier callback
+ * clk_notifier_register - register a clock rate-change notifier callback
  * @clk: clock whose rate we are interested in
  * @nb: notifier block with callback function pointer
  *
@@ -103,7 +103,7 @@ struct clk_bulk_data {
 int clk_notifier_register(struct clk *clk, struct notifier_block *nb);
 
 /**
- * clk_notifier_unregister: unregister a clock rate-change notifier callback
+ * clk_notifier_unregister - unregister a clock rate-change notifier callback
  * @clk: clock whose rate we are no longer interested in
  * @nb: notifier block which will be unregistered
  */
maintainer Applied
#1 lore raw

Quoting Randy Dunlap (2021-01-06 18:33:04)

Quoted 10 lines

Fix kernel-doc notation for 2 functions so that the generated html is correct. Currently it skips all text between the ':' and the '-', so "[un]register a clock rate" is missing.

Fixes 86bcfa2e87c4 ("clk: add pr_debug & kerneldoc around clk notifiers")
Cc Mike Turquette <[email protected]>
Cc Russell King <[email protected]>

---

Applied to clk-next