This patchset is a misc update of remoteproc_core.c. Patch 1: Drop a pointless initialization to variable ret Patch 2-3: Cleanup the included headers Patch 4: Use cleanup.h to simplify code Patch 5: Remove export of rproc_va_to_pa Patch 6: Use 1-bit bitfields for bool
I am also reviewing the rproc->lock usage and thinking whether we need to add a lockdep_assert_held for some functions that should have lock held. But not sure. Signed-off-by: Peng Fan <[email protected]> --- Peng Fan (6): remoteproc: core: Drop redundant initialization of 'ret' in rproc_shutdown() remoteproc: core: Sort header includes remoteproc: core: Removed unused headers remoteproc: core: Use cleanup.h macros to simplify lock handling remoteproc: core: Remove unused export of rproc_va_to_pa remoteproc: core: Consolidate bool flags into 1-bit bitfields drivers/remoteproc/remoteproc_core.c | 144 ++++++++++++++--------------------- include/linux/remoteproc.h | 18 ++--- 2 files changed, 67 insertions(+), 95 deletions(-) --- base-commit: 3b9b1f8df454caa453c7fb07689064edb2eda90a change-id: 20251003-remoteproc-cleanup-345cd50fe138 Best regards, -- Peng Fan <[email protected]>

