Commit 5efcc36
remoteproc: omap: Use devm action to release reserved memory
This helps prevent mistakes like freeing out of order in cleanup functions
and forgetting to free on error paths.
Signed-off-by: Andrew Davis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>1 parent 6159855 commit 5efcc36
1 file changed
+11
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1277 | 1277 | | |
1278 | 1278 | | |
1279 | 1279 | | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
1280 | 1287 | | |
1281 | 1288 | | |
1282 | 1289 | | |
| |||
1346 | 1353 | | |
1347 | 1354 | | |
1348 | 1355 | | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
1349 | 1359 | | |
1350 | 1360 | | |
1351 | 1361 | | |
1352 | 1362 | | |
1353 | 1363 | | |
1354 | | - | |
| 1364 | + | |
1355 | 1365 | | |
1356 | 1366 | | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
1362 | 1367 | | |
1363 | 1368 | | |
1364 | 1369 | | |
1365 | 1370 | | |
1366 | 1371 | | |
1367 | 1372 | | |
1368 | 1373 | | |
1369 | | - | |
1370 | 1374 | | |
1371 | 1375 | | |
1372 | 1376 | | |
| |||
0 commit comments