From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Fri, 3 May 2019 15:50:24 +0300 > The phy_connect() function doesn't return NULL pointers. It returns > error pointers on error, so I have updated the check. > > Fixes: 8425c41d1ef7 ("net: ll_temac: Extend support to non-device-tree platforms") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied.