summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2025-09-26 15:33:20 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2025-10-14 18:14:32 +0300
commitff7c763b91981b9037086eae4ae4f127d5cceb63 (patch)
treed0b509ba93ef17c55f9b8119db48194931ea0ef5 /scripts
parent9b2451658afa9d144706f4b8d8727bb458fb4514 (diff)
downloadlinux-ff7c763b91981b9037086eae4ae4f127d5cceb63.tar.xz
remoteproc: imx_rproc: Use devm_rproc_add() helper
Replace manual rproc_add() and cleanup logic with devm_rproc_add(), which ties the remoteproc lifecycle to the device's lifecycle. This simplifies error handling and ensures proper cleanup. With no need to invoke rproc_del(), the remove() ops could be removed. No functional changes. Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20250926-imx_rproc_v3-v3-6-4c0ec279cc5f@nxp.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions