firmware: arm_scmi: Move protocol registration helpers
authorCristian Marussi <cristian.marussi@arm.com>
Thu, 22 Dec 2022 18:50:43 +0000 (18:50 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 19 Jan 2023 09:44:53 +0000 (09:44 +0000)
commit9115c20ac1ee9e92a3e751e352db818b7f95746a
treee92fd0a097b4cff076ec95ae5d3e32dae955d968
parent05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1
firmware: arm_scmi: Move protocol registration helpers

Move protocol registration helpers and logic out of bus.c compilation
unit into driver.c.

No functional change.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20221222185049.737625-4-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