[PATCH 4.9 015/271] net: phy: Fix not to call phy_resume() if PHY is not attached