On Mon, Aug 26, 2024 at 02:17:17PM GMT, Yan Zhen wrote: > The devm_clk_hw_get_clk() function returns error pointers. > It never returns NULL. Update the check accordingly. > > > Signed-off-by: Yan Zhen <yanzhen@xxxxxxxx> > --- > > Changes in v2: > - Return PTR_ERR(icd[i].clk) instead of -ENOENT. > Fixes: 8737ec830ee3 ("clk: qcom: common: Add interconnect clocks support") Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> -- With best wishes Dmitry