diff options
author | Andrew Davis <afd@ti.com> | 2024-06-10 18:17:16 +0300 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2024-06-13 19:05:11 +0300 |
commit | 6159855954ba16a8b3f6a01c305f938ea7e88f11 (patch) | |
tree | cb64d9946f48d9303e1418715bca38eaf5e75df3 /rust/helpers/build_bug.c | |
parent | 2fa26ca8b786888673689ccc9da6094150939982 (diff) | |
download | linux-6159855954ba16a8b3f6a01c305f938ea7e88f11.tar.xz |
remoteproc: omap: 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/20240610151721.189472-1-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions