summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2025-09-26 15:33:16 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2025-10-14 18:09:40 +0300
commit6c5c37dc41633f3a42dd9e9d80f6e673cdd91165 (patch)
tree5b9ba339400c22c4ce0b5718ddbaf839b7b440a4 /tools/lib/python
parent80405a34e1f8975cdb2d7d8679bca7f768861035 (diff)
downloadlinux-6c5c37dc41633f3a42dd9e9d80f6e673cdd91165.tar.xz
remoteproc: imx_rproc: Use devm_add_action_or_reset() for workqueue cleanup
Replace manual destroy_workqueue() calls in error and remove paths with a devm_add_action_or_reset() helper. Ensure the workqueue is properly cleaned up with the device lifecycle, and simplify error handling in probe by removing now-unnecessary labels and cleanup steps. 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-2-4c0ec279cc5f@nxp.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions