diff options
| author | Caleb Connolly <[email protected]> | 2024-07-15 12:08:04 +0200 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2024-07-26 01:28:10 +0200 |
| commit | bb991ab7a9bb0d070728fd5c9876f84cbe8bd325 (patch) | |
| tree | 7cc6706636f7ebece9c3ef7997dcb02a1345e14d /include/soc | |
| parent | 5f791b81187d2cec34d03b031700827056b27c47 (diff) | |
soc: qcom: cmd-db: drop unused functions
Due to our simpler rpmh-rsc driver and lack of debugfs, we don't need
quite a few cmd-db functions, just drop them.
Acked-by: Sumit Garg <[email protected]>
Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'include/soc')
| -rw-r--r-- | include/soc/qcom/cmd-db.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/soc/qcom/cmd-db.h b/include/soc/qcom/cmd-db.h index 47a6cab75e6..753c7923f8e 100644 --- a/include/soc/qcom/cmd-db.h +++ b/include/soc/qcom/cmd-db.h @@ -22,26 +22,11 @@ enum cmd_db_hw_type { #if IS_ENABLED(CONFIG_QCOM_COMMAND_DB) u32 cmd_db_read_addr(const char *resource_id); -const void *cmd_db_read_aux_data(const char *resource_id, size_t *len); - -bool cmd_db_match_resource_addr(u32 addr1, u32 addr2); - -enum cmd_db_hw_type cmd_db_read_slave_id(const char *resource_id); - int cmd_db_ready(void); #else static inline u32 cmd_db_read_addr(const char *resource_id) { return 0; } -static inline const void *cmd_db_read_aux_data(const char *resource_id, size_t *len) -{ return ERR_PTR(-ENODEV); } - -static inline bool cmd_db_match_resource_addr(u32 addr1, u32 addr2) -{ return false; } - -static inline enum cmd_db_hw_type cmd_db_read_slave_id(const char *resource_id) -{ return -ENODEV; } - static inline int cmd_db_ready(void) { return -ENODEV; } #endif /* CONFIG_QCOM_COMMAND_DB */ |
