diff options
author | Andrew Davis | 2024-01-23 12:46:32 -0600 |
---|---|---|
committer | Mathieu Poirier | 2024-02-02 11:39:05 -0700 |
commit | e160d811c5603f6205fd260cb6f5a4a22e84b80f (patch) | |
tree | c3a5ab83a1d078d7e00f9062b9d4f4da1ef69d00 /mm/mmzone.c | |
parent | 173d2c6326e39a9d87cadab179e2177a1d76294e (diff) |
remoteproc: stm32: 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/20240123184632.725054-9-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'mm/mmzone.c')
0 files changed, 0 insertions, 0 deletions