]> Gentwo Git Trees - linux/.git/commit
remoteproc: imx_rproc: Clean up after ops introduction
authorPeng Fan <peng.fan@nxp.com>
Wed, 10 Sep 2025 07:11:50 +0000 (15:11 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 15 Sep 2025 16:05:59 +0000 (10:05 -0600)
commite65a9ed4c3ec11fb40474f3340b9c1e1551c6b7a
tree5c1b5c4c7eba1aeca710a4ab37b7cfc6e3092f1f
parentecadd767fb83556fe4db599fd5305b08b8328cef
remoteproc: imx_rproc: Clean up after ops introduction

With the switch-case in imx_rproc_{start,stop}{} removed, simplify
the code logic by removing 'goto'. The last switch-case in
imx_rproc_detect_mode() are no longer needed and can be removed.

This cleanup improves code readability and aligns with the new ops-based
design.

No functional changes.

Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250910-imx-rproc-cleanup-v2-6-10386685b8a9@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_rproc.c