diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2022-03-30 17:05:39 +0200 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-04-28 19:22:52 +0200 |
commit | 5c873d120d8676b22e04ba1c7d9eba878b6c6484 (patch) | |
tree | b56e32fa8d6ab9d4b8c88913b24882d1f94ae4b4 /drivers/firmware/arm_scmi/power.c | |
parent | firmware: arm_scmi: Split protocol specific definitions in a dedicated header (diff) | |
download | linux-5c873d120d8676b22e04ba1c7d9eba878b6c6484.tar.xz linux-5c873d120d8676b22e04ba1c7d9eba878b6c6484.zip |
firmware: arm_scmi: Introduce a common SCMI v3.1 .extended_name_get helper
Introduce a new set of common protocol operations bound to the protocol
handle structure so that can be invoked by the protocol implementation code
even when protocols are built as distinct loadable kernel module without
the need of exporting new symbols, like already done with scmi_xfer_ops.
Add at first, as new common protocol helper, an .extended_name_get helper
which will ease implementation and will avoid code duplication when adding
new SCMIv3.1 per-protocol _NAME_GET commands.
Link: https://lore.kernel.org/r/20220330150551.2573938-11-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/power.c')
0 files changed, 0 insertions, 0 deletions