aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py
diff options
context:
space:
mode:
authorOleksij Rempel <[email protected]>2025-05-05 08:43:38 +0000
committerDavid S. Miller <[email protected]>2025-05-07 11:57:05 +0000
commit8ba1f33c55d213ee0da1b972b481407cfddeda4a (patch)
tree34bda618c561929f2d027ebdfb615fb5420617e0 /tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py
parentnet: usb: lan78xx: refactor PHY init to separate detection and MAC configuration (diff)
downloadkernel-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