diff options
author | Andrew Davis <afd@ti.com> | 2024-08-02 21:22:55 +0300 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2024-08-13 18:41:51 +0300 |
commit | 209dd85aa4417480fb8d3c195893b116f9b87acb (patch) | |
tree | 663a0591a850f5ccba836427b77c4fdda18933f0 /rust/helpers/task.c | |
parent | d32e71660056455ff0af73e10d239d4043d9c1a5 (diff) | |
download | linux-209dd85aa4417480fb8d3c195893b116f9b87acb.tar.xz |
remoteproc: keystone: Use devm_rproc_alloc() helper
Use the device lifecycle managed allocation function. This helps prevent
mistakes like freeing out of order in cleanup functions and forgetting to
free on error paths.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240802182300.244055-2-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions