summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorBeleswar Padhi <b-padhi@ti.com>2024-08-08 10:41:25 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2024-08-16 17:41:14 +0300
commitc81ef0cb576a3995edf24b63e9639881f19a2122 (patch)
treef2d9625766ddd3b670adf6fb60b357136055c190 /rust/helpers/task.c
parent9091225ba28c0106d3cd041c7abf5551a94bb524 (diff)
downloadlinux-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