diff options
author | 2025-05-05 10:43:38 +0200 | |
---|---|---|
committer | 2025-05-07 12:57:05 +0100 | |
commit | 8ba1f33c55d213ee0da1b972b481407cfddeda4a (patch) | |
tree | 34bda618c561929f2d027ebdfb615fb5420617e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: usb: lan78xx: refactor PHY init to separate detection and MAC configuration (diff) | |
download | wireguard-linux-8ba1f33c55d213ee0da1b972b481407cfddeda4a.tar.xz wireguard-linux-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 <o.rempel@pengutronix.de>
Reviewed-by: Thangaraj Samynathan <thangaraj.s@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions