Skip to contentSkip to conversation

clk: Fix comment to clk_get_parent()

PATCH New Alexander Sverdlin 1 participant 1 message Nov 25, 2015

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

PATCH 1/1 clk: Fix comment to clk_get_parent()

There is no single implementation of clk_get_parent(), which returns ERR_PTR(). Therefore, fix the comment in common header linux/clk.h, which claims otherwise.

---
 include/linux/clk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/clk.h +1 -1
index 0df4a51..0f53683 100644
@@ -387,7 +387,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent);
  * @clk: clock source
  *
  * Returns struct clk corresponding to parent clock source, or
- * valid IS_ERR() condition containing errno.
+ * NULL on error.
  */
 struct clk *clk_get_parent(struct clk *clk);