[PATCH 4.19 034/271] net: phy: Check against net_device being NULL