clk: Fix comment to clk_get_parent()
Subsystems (2)
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.
Signed-off-by Alexander Sverdlin <[email protected]>
--- include/linux/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/clk.h +1 -1
@@ -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);