firmware: arm_scmi: Introduce new devres notification ops
authorCristian Marussi <cristian.marussi@arm.com>
Tue, 16 Mar 2021 12:48:30 +0000 (12:48 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 29 Mar 2021 09:00:35 +0000 (10:00 +0100)
commit5ad3d1cf7d34c00aa5b425d93373b5c0044aa0a9
tree149cb0aff8338111d4af067cca0f9f4538ff7a0d
parent3dd2c81475564e604fd5b0a21813b9c2f2950fa3
firmware: arm_scmi: Introduce new devres notification ops

Expose to the SCMI drivers a new alternative devres managed notifications
API based on protocol handles.

All drivers still keep using the old API, no functional change.

Link: https://lore.kernel.org/r/20210316124903.35011-6-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/notify.c
include/linux/scmi_protocol.h