]> git.ipfire.org Git - thirdparty/linux.git/commit
remoteproc: wkup_m3: Use devm_rproc_add() helper
authorAndrew Davis <afd@ti.com>
Thu, 14 Aug 2025 15:39:40 +0000 (10:39 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 26 Aug 2025 15:47:00 +0000 (09:47 -0600)
commit3df0bee9c5b94ca9e3e2ff0f4c4e9886eac86055
tree6a2c14f758fcd2e1dc1b37f7310a667ba650cce1
parent9b84eec6f3b78795ab57f9c2c808948e12d18bad
remoteproc: wkup_m3: Use devm_rproc_add() helper

Use the device lifecycle managed add function. This helps prevent mistakes
like deleting out of order in cleanup functions and forgetting to delete
on error paths.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20250814153940.670564-4-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/wkup_m3_rproc.c