Re: [PATCH v3] clk: qcom: Fix error checking for devm_clk_hw_get_clk()
From: Markus Elfring
Date: Tue Aug 27 2024 - 16:08:45 EST
> > The devm_clk_hw_get_clk() function returns error pointers.
> > It never returns NULL. Update the check accordingly.
>
> It can return NULL if the 'hw' pointer passed in is NULL.
How does this view fit to a published function implementation?
https://elixir.bootlin.com/linux/v6.11-rc5/source/drivers/clk/clk.c#L4703
Regards,
Markus