diff options
author | 2017-01-31 17:54:38 -0800 | |
---|---|---|
committer | 2018-01-16 23:47:10 +1100 | |
commit | 9625e69a3818cc00fd85632719b4c6c12f7f1b1e (patch) | |
tree | f142f6f3f9a129f8849b849a0a3a51365603e2ca /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | powerpc/32s: Fix compile error with CONFIG_PPC_PTDUMP (diff) | |
download | linux-dev-9625e69a3818cc00fd85632719b4c6c12f7f1b1e.tar.xz linux-dev-9625e69a3818cc00fd85632719b4c6c12f7f1b1e.zip |
powerpc: make use of for_each_node_by_type() instead of open-coding it
Instead of manually coding the loop with of_find_node_by_type(), let's
switch to the standard macro for iterating over nodes with given type.
Also fixed a couple of refcount leaks in the aforementioned loops.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions