[PATCH -next] net: phy: Fix return value check in xgmiitorgmii_probe()

David Miller
2016-08-15T23:34:43Z

From: Wei Yongjun <weiyj.lk@gmail.com>
Date: Mon, 15 Aug 2016 22:34:57 +0000

> In case of error, the function of_parse_phandle() returns NULL
> pointer not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
>
> Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>

Applied.