summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/arm_scmi/Makefile
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2022-07-04 12:19:32 +0200
committerSudeep Holla <sudeep.holla@arm.com>2022-07-04 15:28:42 +0200
commitd91079995fa62720e11a39c08b932f2f9a8cbfae (patch)
tree53efce23e9e834bdba12e6cf154c745f7b68e3d9 /drivers/firmware/arm_scmi/Makefile
parentfirmware: arm_scmi: Add SCMI v3.1 System Power extensions (diff)
downloadlinux-d91079995fa62720e11a39c08b932f2f9a8cbfae.tar.xz
linux-d91079995fa62720e11a39c08b932f2f9a8cbfae.zip
firmware: arm_scmi: Add devm_protocol_acquire helper
Add a method to get hold of a protocol, causing it to be initialized and its resource accounting updated, without getting access to its operations and handle. Some protocols, like SCMI SystemPower, do not expose any protocol ops to the kernel OSPM agent but still need to be at least initialized. This helper avoids the need to invoke a full devm_get_protocol() only to get the protocol initialized while throwing away unused the protocol ops and handle. Link: https://lore.kernel.org/r/20220704101933.2981635-4-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/Makefile')
0 files changed, 0 insertions, 0 deletions