summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-04-12 23:57:32 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-07-16 03:02:13 +0300
commitc90a85197428de2c7effdc71063df51513be7113 (patch)
tree0998ba487aea70e23664a15c91e5a0823021fe19 /kernel
parent4f210af5ebc166d0b0219459024c13208295bae7 (diff)
downloadlinux-c90a85197428de2c7effdc71063df51513be7113.tar.xz
Input: gpio_keys - 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. 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-3-dbad1bc7ea84@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions