diff options
| author | Oleksij Rempel <[email protected]> | 2025-05-05 08:43:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2025-05-07 11:57:05 +0000 |
| commit | 8ba1f33c55d213ee0da1b972b481407cfddeda4a (patch) | |
| tree | 34bda618c561929f2d027ebdfb615fb5420617e0 /tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py | |
| parent | net: usb: lan78xx: refactor PHY init to separate detection and MAC configuration (diff) | |
| download | kernel-8ba1f33c55d213ee0da1b972b481407cfddeda4a.tar.gz kernel-8ba1f33c55d213ee0da1b972b481407cfddeda4a.zip | |
net: usb: lan78xx: move LED DT configuration to helper
Extract the LED enable logic based on the "microchip,led-modes"
property into a new helper function lan78xx_configure_leds_from_dt().
This simplifies lan78xx_phy_init() and improves modularity.
No functional changes intended.
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Thangaraj Samynathan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py')
0 files changed, 0 insertions, 0 deletions
