r8169: move enabling EEE to rtl8169_init_phy
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 21 Dec 2019 13:15:21 +0000 (14:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Dec 2019 06:26:46 +0000 (22:26 -0800)
commitaf7797785d61e1053d23764b5d3fbdf2ab926f31
tree561f4a34fa84fbb31abda24428cd4b5a86f1b838
parent8722709b049473f9bd3ba9b817d52d9ab0a8e20b
r8169: move enabling EEE to rtl8169_init_phy

Simplify the code by moving the call to rtl_enable_eee() from the
individual PHY configs to rtl8169_init_phy().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c