sc5xx remoteproc cleanups - #3509
Conversation
The three function adi_tru_set_trigger(), adi_tru_set_trigger_by_id() and adi_tru_trigger() are used only internally, so mark the functions static. adi_tru_trigger() is used by adi_tru_trigger_device(), so their order has to be swapped to not need a function declaration. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
The functions adi_rcu_check_coreid_valid(), adi_rcu_reset_core(), adi_rcu_start_core() and adi_rcu_stop_core() are only used within the compile unit and so can be static and don't need to be exported. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Both get_adi_sec_from_node() and put_adi_sec() are not used, and never were since they were introduced. So drop them. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
There is only a single .c file which only consists of #include statements. There is no code generated and throwing that away doesn't hurt. So do that. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
LLM reviewThis series is a janitorial cleanup of Session: 32858449430
|
PR Description
Simplify and cleanup the drivers related to remoteproc operation. While working on these and understand their functions, simplifications help a lot make the picture clearer (and identify layer violations :-)).
PR Type
PR Checklist