Commit 9d4cfee
leds: lp55xx: Simplify with scoped for each OF child loop
Use scoped for_each_available_child_of_node_scoped() when iterating over
device nodes to make code a bit simpler.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>1 parent 2c37529 commit 9d4cfee
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1173 | 1173 | | |
1174 | 1174 | | |
1175 | 1175 | | |
1176 | | - | |
1177 | 1176 | | |
1178 | 1177 | | |
1179 | | - | |
| 1178 | + | |
1180 | 1179 | | |
1181 | 1180 | | |
1182 | | - | |
1183 | | - | |
| 1181 | + | |
1184 | 1182 | | |
1185 | | - | |
1186 | 1183 | | |
1187 | 1184 | | |
1188 | 1185 | | |
| |||
0 commit comments