]> www.infradead.org Git - users/jedix/linux-maple.git/commit
remoteproc: omap: Use devm_rproc_add() helper
authorAndrew Davis <afd@ti.com>
Mon, 10 Jun 2024 15:17:18 +0000 (10:17 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 13 Jun 2024 16:05:11 +0000 (10:05 -0600)
commit8d3739dbba3ba35c43984d762e7cdcca031a8fcf
tree6048d3a0e72c5ac4d53803a2544d78ac688ab302
parent5efcc364fc63750fee93e5791130a1658b5061e8
remoteproc: omap: 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/20240610151721.189472-3-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/omap_remoteproc.c