Re: [PATCH net-next v2 09/11] net: dsa: remove PHY device argument from .set_eee
From: Andrew Lunn
Date: Tue Aug 01 2017 - 17:06:33 EST
On Tue, Aug 01, 2017 at 04:32:39PM -0400, Vivien Didelot wrote:
> The DSA switch operations for EEE are only meant to configure a port's
> MAC EEE settings. The port's PHY EEE settings are accessed by the DSA
> layer and must be made available via a proper PHY driver.
> In order to reduce this confusion, remove the phy_device argument from
> the .set_eee operation.
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>