r8169: simplify EEE handling
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 31 Jan 2024 20:31:01 +0000 (21:31 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 3 Feb 2024 04:48:26 +0000 (20:48 -0800)
commitf5d59230ec26aa5e8b59e9f4a4d288703a737479
tree0d2f960c8d8140d1071f045c5314ba0085cb8791
parent5befa3728b855e9f75b29bb0069a1ca7f5bab2f7
r8169: simplify EEE handling

We don't have to store the EEE modes to be advertised in the driver,
phylib does this for us and stores it in phydev->advertising_eee.
phylib also takes care of properly handling the EEE advertisement.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/27c336a8-ea47-483d-815b-02c45ae41da2@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c