Re: [PATCH] clk: document that clk_get_parent() returns NULL
Brian Masney <[email protected]> Thu, 16 Jul 2026 10:23:51 -0400
| Newsgroups | org.kernel.vger.kernel-janitors,org.kernel.vger.linux-clk,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> Reviewed-by: Brian Masney <[email protected]>