]> git.dujemihanovic.xyz Git - u-boot.git/commit
firmware: scmi: smccc transport: use plat data, not priv data
authorEtienne Carriere <etienne.carriere@linaro.org>
Mon, 8 Nov 2021 07:56:10 +0000 (08:56 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 23 Nov 2021 18:53:03 +0000 (13:53 -0500)
commit3de5aef451b83412b7104fd611bb94059a741f34
tree8ca8ed5cec739d3a6673bae1e78598019145e3ac
parent88a304f864a10e1b716a4e5234af35390cc7a75b
firmware: scmi: smccc transport: use plat data, not priv data

Change SCMI smccc transport drivers to use platform data rather
than private data for channel reference since it only stores platform
data retrieved from the DT. Consequently the probe handler is replaced
with a of_to_plat handler.

Cc: Simon Glass <sjg@chromium.org>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/firmware/scmi/smccc_agent.c