Commit 4256d47
Input: iqs269a - use device_for_each_child_node_scoped()
Switch to the _scoped() version introduced in commit 365130f
("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-1-dbad1bc7ea84@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>1 parent 3daee2e commit 4256d47
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | | - | |
815 | 814 | | |
816 | 815 | | |
817 | 816 | | |
| |||
1049 | 1048 | | |
1050 | 1049 | | |
1051 | 1050 | | |
1052 | | - | |
| 1051 | + | |
1053 | 1052 | | |
1054 | | - | |
1055 | | - | |
| 1053 | + | |
1056 | 1054 | | |
1057 | | - | |
1058 | 1055 | | |
1059 | 1056 | | |
1060 | 1057 | | |
| |||
0 commit comments