diff options
author | Clément Léger <[email protected]> | 2023-01-12 17:13:11 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-01-13 21:53:28 -0800 |
commit | 925f3deb45df73173a33e1e81db77575f4ffde39 (patch) | |
tree | 8987553a09d304c31c43b9c25bfecb1e1804e0e0 /tools/perf/scripts/python | |
parent | 3c463721a73bdb57a913e0d3124677a3758886fc (diff) |
net: lan966x: add missing fwnode_handle_put() for ports node
Since the "ethernet-ports" node is retrieved using
device_get_named_child_node(), it should be release after using it. Add
missing fwnode_handle_put() and move the code that retrieved the node
from device-tree to avoid complicated handling in case of error.
Fixes: db8bcaad5393 ("net: lan966x: add the basic lan966x driver")
Signed-off-by: Clément Léger <[email protected]>
Reviewed-by: Alexander Duyck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions