net: dsa: remove PHY device argument from .set_eee
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@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
c48f7eb302
commit
46587e4a31
@@ -335,7 +335,6 @@ struct dsa_switch_ops {
|
||||
* EEE setttings
|
||||
*/
|
||||
int (*set_eee)(struct dsa_switch *ds, int port,
|
||||
struct phy_device *phydev,
|
||||
struct ethtool_eee *e);
|
||||
int (*get_eee)(struct dsa_switch *ds, int port,
|
||||
struct ethtool_eee *e);
|
||||
|
Reference in New Issue
Block a user