commit | b55b06b79445574fa031158fe2ae2946cde0d1b7 | [log] [tgz] |
---|---|---|
author | Sudeep Holla <sudeep.holla@arm.com> | Fri Nov 22 14:48:40 2019 +0000 |
committer | Sudeep Holla <sudeep.holla@arm.com> | Tue Dec 24 11:35:49 2019 +0000 |
tree | d1b5858432993dbfe6d52e549208e35aebd22e75 | |
parent | 50872a94637b1e7c92b43280adb71dd8e30fd246 [diff] |
firmware: arm_scmi: Stash version in protocol init functions In order to avoid querying the individual protocol versions multiple time with more that one device created for each protocol, we can simple store the copy in the protocol specific private data and use them whenever required. Reviewed-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>