diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-04-12 22:57:33 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-16 02:02:13 +0200 |
commit | 1102db75c5ce9df1214ba06b69e00f6fe4dc19c1 (patch) | |
tree | 9bdd8cb2ae0359390057d155ccfc160fc25925c0 /drivers/pinctrl | |
parent | Input: gpio_keys - use device_for_each_child_node_scoped() (diff) | |
download | linux-1102db75c5ce9df1214ba06b69e00f6fe4dc19c1.tar.xz linux-1102db75c5ce9df1214ba06b69e00f6fe4dc19c1.zip |
Input: gpio_keys_polled - 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-4-dbad1bc7ea84@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions