aboutsummaryrefslogtreecommitdiff
path: root/include/linux/scmi_protocol.h
diff options
context:
space:
mode:
authorGravatar Cristian Marussi <cristian.marussi@arm.com> 2022-12-22 18:50:47 +0000
committerGravatar Sudeep Holla <sudeep.holla@arm.com> 2023-01-19 09:49:54 +0000
commit2c3e674465e73e2f7eb52c39dc5c5e97e78e68ea (patch)
tree7a795053d0208a3685c61071ccf51a41accc0907 /include/linux/scmi_protocol.h
parentfirmware: arm_scmi: Move handle get/set helpers (diff)
downloadlinux-2c3e674465e73e2f7eb52c39dc5c5e97e78e68ea.tar.gz
linux-2c3e674465e73e2f7eb52c39dc5c5e97e78e68ea.tar.bz2
linux-2c3e674465e73e2f7eb52c39dc5c5e97e78e68ea.zip
firmware: arm_scmi: Refactor device create/destroy helpers
Refactor SCMI device create/destroy helpers: it is now possible to ask for the creation of all the currently requested devices for a whole protocol, not only for the creation of a single well-defined device. While at that, re-instate uniqueness checks on the creation of SCMI SystemPower devices. Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Link: https://lore.kernel.org/r/20221222185049.737625-8-cristian.marussi@arm.com Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'include/linux/scmi_protocol.h')
-rw-r--r--include/linux/scmi_protocol.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/scmi_protocol.h b/include/linux/scmi_protocol.h
index 4f765bc788ff..0ce5746a4470 100644
--- a/include/linux/scmi_protocol.h
+++ b/include/linux/scmi_protocol.h
@@ -804,11 +804,6 @@ struct scmi_device {
#define to_scmi_dev(d) container_of(d, struct scmi_device, dev)
-struct scmi_device *
-scmi_device_create(struct device_node *np, struct device *parent, int protocol,
- const char *name);
-void scmi_device_destroy(struct scmi_device *scmi_dev);
-
struct scmi_device_id {
u8 protocol_id;
const char *name;