diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-09-28 22:47:37 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-09-30 14:25:54 +0300 |
commit | 12b0e305f50988b0c75f052f86d51b5353108ca5 (patch) | |
tree | 29a17e5d8c5bfa09c6146f1b145199b4aff31557 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) | |
download | linux-12b0e305f50988b0c75f052f86d51b5353108ca5.tar.xz |
gpio: acpi: switch to device_for_each_child_node_scoped()
Switch to device_for_each_child_node_scoped() to simplify the code by
removing the need for a call to fwnode_handle_put() in the error path.
This also prevents possible memory leaks if new error paths are added
without the required call to fwnode_handle_put().
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions