Re: [PATCH v3] clk: qcom: Fix error checking for devm_clk_hw_get_clk()

From: Stephen Boyd
Date: Tue Aug 27 2024 - 14:19:44 EST


Quoting Yan Zhen (2024-08-26 19:52:52)
> 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.