From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Date: Wed, 23 Jan 2019 06:19:18 +0000 > In case of error, the function devm_clk_get() returns ERR_PTR() and > never returns NULL. The NULL test in the return value check should be > replaced with IS_ERR(). > > Fixes: a7c30e62d4b8 ("net: stmmac: Add driver for Qualcomm ethqos") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Applied, thanks.