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(-) 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); -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
