firmware: arm_scmi: Add common notifier helpers
authorCristian Marussi <cristian.marussi@arm.com>
Thu, 22 Dec 2022 18:50:44 +0000 (18:50 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 19 Jan 2023 09:46:15 +0000 (09:46 +0000)
commit53b8c25df7082edd78a3fc63e359abee0f28fa70
tree08dd92606f4dedd644d41be0983ff8ef8acdb46a
parent9115c20ac1ee9e92a3e751e352db818b7f95746a
firmware: arm_scmi: Add common notifier helpers

Add a pair of notifier chains and generic empty notifier callbacks.
Currently they are still unused but they will be used to act properly
on device request and creation events.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20221222185049.737625-5-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/bus.c
drivers/firmware/arm_scmi/common.h
drivers/firmware/arm_scmi/driver.c