[PATCH] include: phy: fix NULL pointer check in phy_write()