aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2025-05-05 10:43:38 +0200
committerDavid S. Miller <davem@davemloft.net>2025-05-07 12:57:05 +0100
commit8ba1f33c55d213ee0da1b972b481407cfddeda4a (patch)
tree34bda618c561929f2d027ebdfb615fb5420617e0 /net/lapb/lapb_timer.c
parentnet: usb: lan78xx: refactor PHY init to separate detection and MAC configuration (diff)
downloadwireguard-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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions