Commit 9f6caa3
dmaengine: mv_xor: switch to for_each_child_of_node_scoped()
Introduce the scoped variant of the loop to automatically release the
child node when it goes out of scope, which is more robust than the
non-scoped variant, and accounts for new early exits that could be added
in the future.
Signed-off-by: Javier Carrasco <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>1 parent 36d8cbd commit 9f6caa3
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | |
1372 | | - | |
1373 | 1372 | | |
1374 | 1373 | | |
1375 | | - | |
| 1374 | + | |
1376 | 1375 | | |
1377 | 1376 | | |
1378 | 1377 | | |
| |||
1388 | 1387 | | |
1389 | 1388 | | |
1390 | 1389 | | |
1391 | | - | |
1392 | 1390 | | |
1393 | 1391 | | |
1394 | 1392 | | |
| |||
1397 | 1395 | | |
1398 | 1396 | | |
1399 | 1397 | | |
1400 | | - | |
1401 | 1398 | | |
1402 | 1399 | | |
1403 | 1400 | | |
| |||
0 commit comments