diff options
author | Jinjie Ruan <[email protected]> | 2024-08-30 10:20:25 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-09-03 12:38:17 +0200 |
commit | 2560db6ede1aaf162a73b2df43e0b6c5ed8819f7 (patch) | |
tree | a1019028c519eb26bf40ba1ef82a9e3049abe4ab /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | c2eb0626536f49f25e544d9d178c047b544340bb (diff) |
net: phy: Fix missing of_node_put() for leds
The call of of_get_child_by_name() will cause refcount incremented
for leds, if it succeeds, it should call of_node_put() to decrease
it, fix it.
Fixes: 01e5b728e9e4 ("net: phy: Add a binding for PHY LEDs")
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Jinjie Ruan <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions