Re: [PATCH] clk: document that clk_get_parent() returns NULL

From: Brian Masney

Date: Thu Jul 16 2026 - 10:32:23 EST


On Tue, Jul 14, 2026 at 06:50:18PM +0300, Dan Carpenter wrote:
> The documentation in the clk.h file says that clk_get_parent() returns
> error pointers but it doesn't. It's also not consistent with the
> comments next to the clk_get_parent() implementation which say that
> it returns NULL when the clk is NULL. Update the comments so they
> are consistent and accurate and say that it returns NULL.
>
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

Reviewed-by: Brian Masney <bmasney@xxxxxxxxxx>