summaryrefslogtreecommitdiff
path: root/drivers/firmware/scmi/mailbox_agent.c
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2023-10-11 19:06:54 +0900
committerTom Rini <trini@konsulko.com>2023-10-13 16:59:23 -0400
commitc6230cd8427c906baa52dbff5b95027ef58e6048 (patch)
tree3a1ca7d9de802439e9d702ebdad90066f0f8a173 /drivers/firmware/scmi/mailbox_agent.c
parentab9fbac81670478feccd439a5d84a67bd14d581d (diff)
scmi: refactor the code to hide a channel from devices
The commit 85dc58289238 ("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: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
Diffstat (limited to 'drivers/firmware/scmi/mailbox_agent.c')
0 files changed, 0 insertions, 0 deletions