Commit ac4393a
remoteproc: keystone: Use devm_rproc_add() helper
Use the device lifecycle managed add function. This helps prevent mistakes
like deleting out of order in cleanup functions and forgetting to delete
on error paths.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20250814140835.651652-5-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>1 parent 4949385 commit ac4393a
1 file changed
Lines changed: 1 addition & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
| 458 | + | |
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | | - | |
464 | 462 | | |
465 | 463 | | |
466 | 464 | | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | 465 | | |
475 | 466 | | |
476 | 467 | | |
| |||
482 | 473 | | |
483 | 474 | | |
484 | 475 | | |
485 | | - | |
486 | 476 | | |
487 | 477 | | |
488 | 478 | | |
| |||
0 commit comments