diff options
author | Beleswar Padhi <b-padhi@ti.com> | 2024-08-08 10:41:25 +0300 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2024-08-16 17:41:14 +0300 |
commit | c81ef0cb576a3995edf24b63e9639881f19a2122 (patch) | |
tree | f2d9625766ddd3b670adf6fb60b357136055c190 /rust/helpers/task.c | |
parent | 9091225ba28c0106d3cd041c7abf5551a94bb524 (diff) | |
download | linux-c81ef0cb576a3995edf24b63e9639881f19a2122.tar.xz |
remoteproc: k3-r5: 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: Beleswar Padhi <b-padhi@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240808074127.2688131-2-b-padhi@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