Skip to contentSkip to conversation

clk: Clean up kernel-doc errors

PATCH Applied Stephen Boyd 1 participant 2 messages Jun 22, 2020 – Jul 24, 2020 Common clk

lore
Share & tools
lore

Stephen Boyd

author maintainer
#0 lore raw

PATCH 1/1 clk: Clean up kernel-doc errors

Two things aren't documented causing kernel-doc to fail when checking the core clk.c file. Fix them so that this file is clean.

---
 drivers/clk/clk.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/clk/clk.c +3 -0
index 236923b25543..47c0ee9da462 100644
@@ -4135,6 +4135,7 @@ static int devm_clk_hw_match(struct device *dev, void *res, void *data)
 
 /**
  * devm_clk_unregister - resource managed clk_unregister()
+ * @dev: device that is unregistering the clock data
  * @clk: clock to unregister
  *
  * Deallocate a clock allocated with devm_clk_register(). Normally
@@ -4324,6 +4325,8 @@ static void clk_core_reparent_orphans(void)
  * @node: Pointer to device tree node of clock provider
  * @get: Get clock callback.  Returns NULL or a struct clk for the
  *       given clock specifier
+ * @get_hw: Get clk_hw callback.  Returns NULL, ERR_PTR or a
+ *       struct clk_hw for the given clock specifier
  * @data: context pointer to be passed into @get callback
  */
 struct of_clk_provider {

base-commit: b3a9e3b9622ae10064826dccb4f7a52bd88c7407
prerequisite-patch-id: ef03ffb3ba4ad414ba2917d05b8804fc14f907c7

Signature · 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
author maintainer Applied
#1 lore raw

Quoting Stephen Boyd (2020-06-22 02:09:35)

Quoted 5 lines

Two things aren't documented causing kernel-doc to fail when checking the core clk.c file. Fix them so that this file is clean.

---

Applied to clk-next