Re: [net-next PATCH v7 06/10] net: phy: provide whether link has changed in c37_read_status

From: Andrew Lunn
Date: Fri Feb 09 2024 - 20:30:04 EST

On Tue, Feb 06, 2024 at 06:31:09PM +0100, Christian Marangi wrote:
> Some PHY driver might require additional regs call after
> genphy_c37_read_status() is called.
> Expand genphy_c37_read_status to provide a bool wheather the link has
> changed or not to permit PHY driver to skip additional regs call if
> nothing has changed.
> Every user of genphy_c37_read_status() is updated with the new
> additional bool.
> Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>