Files
erofs-linux/drivers/net/phy
Vladimir Oltean 4465ae435d net: phy: realtek: create rtl8211f_config_phy_eee() helper
To simplify the rtl8211f_config_init() control flow and get rid of
"early" returns for PHYs where the PHYCR2 register is absent, move the
entire logic sub-block that deals with disabling PHY-mode EEE to a
separate function. There, it is much more obvious what the early
"return 0" skips, and it becomes more difficult to accidentally skip
unintended stuff.

Signed-off-by: Vladimir Oltean <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2025-11-19 20:24:23 -08:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-30 13:22:49 +02:00
…
…
…
…
…
…