]> Gentwo Git Trees - linux/.git/commit
remoteproc: wkup_m3: Use devm_rproc_alloc() helper
authorAndrew Davis <afd@ti.com>
Thu, 14 Aug 2025 15:39:39 +0000 (10:39 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 26 Aug 2025 15:46:20 +0000 (09:46 -0600)
commit9b84eec6f3b78795ab57f9c2c808948e12d18bad
tree72c7ce36aaef68322569ad4b7bbb89770703fcec
parent642f8c01e31dd2918e9e655f29846326bf7fad4c
remoteproc: wkup_m3: 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/20250814153940.670564-3-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/wkup_m3_rproc.c