aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-04-12 22:57:31 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-07-15 17:02:13 -0700
commit4f210af5ebc166d0b0219459024c13208295bae7 (patch)
treefebeaaa0a0357f3b60a845ea093f95b3473d2462 /tools/perf/scripts/python/event_analyzing_sample.py
parentInput: iqs269a - use device_for_each_child_node_scoped() (diff)
downloadlinux-4f210af5ebc166d0b0219459024c13208295bae7.tar.gz
linux-4f210af5ebc166d0b0219459024c13208295bae7.zip
Input: qt1050 - use device_for_each_child_node_scoped()
Switch to the _scoped() version introduced in commit 365130fd47af ("device property: Introduce device_for_each_child_node_scoped()") to remove the need for manual calling of fwnode_handle_put() in the paths where the code exits the loop early. In this case the err label was no longer necessary and EINVAL is returned directly. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240412-input_device_for_each_child_node_scoped-v1-2-dbad1bc7ea84@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions