aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Carrasco <[email protected]>2024-04-12 22:57:31 +0200
committerDmitry Torokhov <[email protected]>2024-07-15 17:02:13 -0700
commit4f210af5ebc166d0b0219459024c13208295bae7 (patch)
treefebeaaa0a0357f3b60a845ea093f95b3473d2462 /tools/perf/scripts/python
parent4256d472010e742a1ff7558d02ed867d378695d9 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/20240412-input_device_for_each_child_node_scoped-v1-2-dbad1bc7ea84@gmail.com Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions