Commit 207a693
leds: lp55xx: Simplify with scoped for each OF child loop
Use scoped for-each loop when iterating over device nodes to make code a
bit simpler.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251224124521.208635-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Lee Jones <lee@kernel.org>1 parent 2fe4df9 commit 207a693
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
1207 | | - | |
1208 | 1207 | | |
1209 | 1208 | | |
1210 | 1209 | | |
| |||
1229 | 1228 | | |
1230 | 1229 | | |
1231 | 1230 | | |
1232 | | - | |
| 1231 | + | |
1233 | 1232 | | |
1234 | | - | |
1235 | | - | |
| 1233 | + | |
1236 | 1234 | | |
1237 | | - | |
1238 | 1235 | | |
1239 | 1236 | | |
1240 | 1237 | | |
| |||
0 commit comments