Skip to content
Commit bd5a626b authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Tom Rini
Browse files

scmi: refactor the code to hide a channel from devices



The commit 85dc5828 ("firmware: scmi: prepare uclass to pass channel
reference") added an explicit parameter, channel, but it seems to make
the code complex.

Hiding this parameter will allow for adding a generic (protocol-agnostic)
helper function, i.e. for PROTOCOL_VERSION, in a later patch.

Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarEtienne Carriere <etienne.carriere@foss.st.com>
parent 833ff230
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment