/* phy_disable_interrupts - Disable the PHY interrupts from the PHY side @phydev: target phy_device struct  */
int phy_disable_interrupts(struct phy_device *phydev)
/* phy_disable_interrupts - Disable the PHY interrupts from the PHY side @phydev: target phy_device struct  */
int phy_disable_interrupts(struct phy_device *phydev)
{
	int err;
	err = phy_config_interrupt(phydev, PHY_INTERRUPT_DISABLED);
	if (err)
		goto phy_err;
	err = phy_clear_interrupt(phydev);
	if (err)
		goto phy_err;
	return 0;
phy_err:
	phy_error(phydev);
	return err;
}