aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-04-12 22:57:35 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-07-15 17:02:13 -0700
commitd13df21d62aaf3c7a8a07b5e5c659b7b75947814 (patch)
treeb2d354f57144faa30f0e30e91f2c5e69070a07e9 /tools/perf/scripts/python/bin
parentInput: adc-keys - use device_for_each_child_node_scoped() (diff)
downloadlinux-d13df21d62aaf3c7a8a07b5e5c659b7b75947814.tar.gz
linux-d13df21d62aaf3c7a8a07b5e5c659b7b75947814.zip
Input: adc-joystick - 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_fwnode_put label was no longer necessary and the error code 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-6-dbad1bc7ea84@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions