]> Gentwo Git Trees - linux/.git/commit
remoteproc: da8xx: Use devm_rproc_alloc() helper
authorAndrew Davis <afd@ti.com>
Thu, 14 Aug 2025 13:55:30 +0000 (08:55 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 25 Aug 2025 16:17:08 +0000 (10:17 -0600)
commit127d874a7df05b30e937951864b18fb11babff95
tree5b14902e15cdf184a893795654c5c471c1b6096d
parentf9a4c582e508c210d1e8e70493a69c6e5708476c
remoteproc: da8xx: 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/20250814135532.638040-1-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/da8xx_remoteproc.c