* [PATCH] clk: Fix comment to clk_get_parent()
@ 2015-11-25 1:46 Alexander Sverdlin
0 siblings, 0 replies; only message in thread
From: Alexander Sverdlin @ 2015-11-25 1:46 UTC (permalink / raw)
To: Russell King, linux-clk; +Cc: alexander.sverdlin
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.
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
---
include/linux/clk.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 0df4a51..0f53683 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-25 1:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-25 1:46 [PATCH] clk: Fix comment to clk_get_parent() Alexander Sverdlin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.