diff options
author | Johan Hovold <[email protected]> | 2019-01-16 11:27:08 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-01-17 14:04:49 -0800 |
commit | 3f1bb6abdf19cfa89860b3bc9e7f31b44b6a0ba1 (patch) | |
tree | fa4d42436531cf090b578ecd758f776adbc63f5d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cb12d72b27a6f41325ae23a11033cf5fedfa1b97 (diff) |
net: dsa: realtek-smi: fix OF child-node lookup
Use the new of_get_compatible_child() helper to look up child nodes to
avoid ever matching non-child nodes elsewhere in the tree.
Also fix up the related struct device_node leaks.
Fixes: d8652956cf37 ("net: dsa: realtek-smi: Add Realtek SMI driver")
Cc: stable <[email protected]> # 4.19: 36156f9241cb0
Cc: Linus Walleij <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions