net: stmmac: use stmmac_set_lpi_mode()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 5 Feb 2025 13:40:46 +0000 (13:40 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 7 Feb 2025 19:56:10 +0000 (11:56 -0800)
commit305a0f68cfbf6b6d264557e9e5f8554a3622d5f4
tree1b45b08a9b3ecd44fdb77add9cd8eb59eb3f0827
parenta323ed92e40e8e7220486f7e5a4cccf6666783fd
net: stmmac: use stmmac_set_lpi_mode()

Use the new stmmac_set_lpi_mode() API to configure the parameters of
the desired LPI mode rather than the older methods.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1tffe2-003ZIg-Mx@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c