diff options
author | Zhang Zekun <zhangzekun11@huawei.com> | 2024-08-10 10:34:26 +0800 |
---|---|---|
committer | Niklas Cassel <cassel@kernel.org> | 2024-08-15 13:30:06 +0200 |
commit | aa3ca1faf3222af7aaa194a910995820135fc54e (patch) | |
tree | 736f7b7fee07851b4a98b84280ef963ddc9df6d2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6773e058ae5a9eaebe0a62a2c1b8fceb190ece82 (diff) |
ata: libahci_platform: Simplify code with for_each_child_of_node_scoped()
for_each_child_of_node_scoped() can put the device_node automatically.
So let's use it to make the code simpler by avoiding the need to
explicitly call of_node_put().
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Link: https://lore.kernel.org/r/20240810023426.110624-1-zhangzekun11@huawei.com
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions