aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-09-26 18:08:37 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-05 12:09:14 +0100
commitdb44b37a20c823afeb7c550cf767d9b218681ee1 (patch)
tree3e9c8eaaa24a2f2034ae50e89e813b8e6e8603f3 /tools/perf/scripts/python/netdev-times.py
parentiio: adc: ti-ads1119: Drop explicit initialization of struct i2c_device_id::d... (diff)
downloadlinux-db44b37a20c823afeb7c550cf767d9b218681ee1.tar.gz
linux-db44b37a20c823afeb7c550cf767d9b218681ee1.zip
iio: adc: qcom-pm8xxx-xoadc: use scoped device_for_each_child_node()
Switch to device_for_each_child_node_scoped() to simplify the code by removing the need for calls to fwnode_handle_put() in the error path. This 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> Link: https://patch.msgid.link/20240926-iio_device_for_each_child_node_scoped-v1-1-64ca8a424578@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions