diff options
| author | Andrew Davis <afd@ti.com> | 2024-01-23 21:46:30 +0300 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2024-03-06 07:00:04 +0300 |
| commit | c92ab8aaf42e84f33d690ea9cb292483dd9c2761 (patch) | |
| tree | 2184d1c9af453844fb142eb5926d0e0dcf493565 /tools/lib/api/debug.h | |
| parent | 41854ea92baad3788bd8735312375e6dd3a54ad3 (diff) | |
| download | linux-c92ab8aaf42e84f33d690ea9cb292483dd9c2761.tar.xz | |
remoteproc: qcom_wcnss: 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-7-afd@ti.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/lib/api/debug.h')
0 files changed, 0 insertions, 0 deletions
