diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2025-05-05 10:43:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2025-05-07 12:57:05 +0100 |
commit | 8ba1f33c55d213ee0da1b972b481407cfddeda4a (patch) | |
tree | 34bda618c561929f2d027ebdfb615fb5420617e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d39f339d2603736ff90b0b32d9aea3b954307fd5 (diff) |
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