Commit e65a9ed
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>1 parent ecadd76 commit e65a9ed
1 file changed
Lines changed: 12 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 326 | + | |
| 327 | + | |
332 | 328 | | |
333 | | - | |
| 329 | + | |
334 | 330 | | |
335 | 331 | | |
336 | 332 | | |
| |||
380 | 376 | | |
381 | 377 | | |
382 | 378 | | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
| 379 | + | |
| 380 | + | |
389 | 381 | | |
390 | | - | |
| 382 | + | |
391 | 383 | | |
392 | 384 | | |
393 | 385 | | |
| |||
997 | 989 | | |
998 | 990 | | |
999 | 991 | | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
1005 | 997 | | |
1006 | 998 | | |
1007 | | - | |
1008 | | - | |
1009 | 999 | | |
1010 | 1000 | | |
1011 | | - | |
| 1001 | + | |
1012 | 1002 | | |
1013 | 1003 | | |
1014 | 1004 | | |
| |||
0 commit comments