commit | c48f7eb3021c993cfb15ee4963df2fd6683c2f0d | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Tue Aug 01 16:32:38 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 01 20:09:10 2017 -0700 |
tree | ad6033802a725c8e21bc774f5570aea6fb6b9e6e | |
parent | 7f5c6d7cdda7b67b11659cb5d2cfbaf5210d2fa8 [diff] |
net: dsa: call phy_init_eee in DSA layer All DSA drivers are calling phy_init_eee if eee_enabled is true. Move up this statement in the DSA layer to simplify the DSA drivers. qca8k does not require to cache the ethtool_eee structures from now on. 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>