[PATCH 4.14 027/343] net: phy: Fix not to call phy_resume() if PHY is not attached