]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
remoteproc: da8xx: Use devm_rproc_add() helper
authorAndrew Davis <afd@ti.com>
Thu, 14 Aug 2025 13:55:32 +0000 (08:55 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 26 Aug 2025 14:21:23 +0000 (08:21 -0600)
commit7183e39ac915ec047586a755746cae5b79f5f93c
tree541458322019c56778e48acc6012161e53d8fc5c
parent16689f33e5addec4a61cd4c102900a154349dc2a
remoteproc: da8xx: 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.

As this now makes the IRQ free ordered correctly, we can drop that from
the remove() callback, which is now empty and can also be removed.

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