firmware: arm_scmi: Port systempower protocol to new protocols interface
authorCristian Marussi <cristian.marussi@arm.com>
Tue, 16 Mar 2021 12:48:52 +0000 (12:48 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 30 Mar 2021 15:35:15 +0000 (16:35 +0100)
commitb46d852718c1ba725e0a8b06bd0a039f85465838
tree3ce0ae915e3877fa16d5d2d57fbdf68ff3026a40
parentf3690d9729105963661d06c8cfd752ff1fa2499c
firmware: arm_scmi: Port systempower protocol to new protocols interface

Convert internals of protocol implementation to use protocol handles and
expose a new protocol operations interface for SCMI driver using the new
get/put common operations.

Remove handle->system_priv now unused.

Link: https://lore.kernel.org/r/20210316124903.35011-28-cristian.marussi@arm.com
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/system.c
include/linux/scmi_protocol.h