Wei Yongjun 8f4ebaaa8d net: stmmac: Fix return value check in qcom_ethqos_probe()
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@huawei.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-24 22:13:03 -08:00
..
2018-11-23 22:35:38 -08:00
2019-01-24 21:55:53 -08:00
2019-01-22 14:54:08 -08:00
2019-01-18 14:02:32 -08:00
2019-01-23 11:21:59 -08:00
2018-11-23 11:14:47 -08:00
2019-01-18 14:02:55 -08:00