aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhang Zekun <zhangzekun11@huawei.com>2024-08-09 16:27:11 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-13 10:37:21 +0200
commit88177cd4537faf927fe994db99b62d75f73cb1fe (patch)
treec05d0d241692d7255d63883abc2f4f04696440f7 /tools/perf/scripts/python/stackcollapse.py
parent5cffefa1c1ede3e90a9b09f964bfd5c5e82a1041 (diff)
usb: common: Use helper function for_each_node_with_property()
for_each_node_with_property() can iterate through the device_node with a given property name, and we don't need to find the device_node in the while loop. Since of_device_is_available() will return false if the "controller" is NULL and break the while loop, there is no functional change with such conversion. Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com> Link: https://lore.kernel.org/r/20240809082711.99085-1-zhangzekun11@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions