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

From: Dmitry Baryshkov
Date: Thu Aug 29 2024 - 05:07:32 EST


On Tue, Aug 27, 2024 at 10:52:52AM GMT, Yan Zhen wrote:
> The devm_clk_hw_get_clk() function returns error pointers.
> It never returns NULL. Update the check accordingly.
>
> Fixes: 8737ec830ee3 ("clk: qcom: common: Add interconnect clocks support")'
> Signed-off-by: Yan Zhen <yanzhen@xxxxxxxx>
> ---
>
> Changes in v3:
> - Providing a "fixes" tag blaming the commit.
>
> drivers/clk/qcom/common.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

--
With best wishes
Dmitry