[PATCH v4 06/15] firmware: arm_scmi: Drop unused clock rate interfaces
Cristian Marussi <[email protected]>
| Newsgroups | org.kernel.vger.arm-scmi,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-clk,org.kernel.vger.linux-kernel,org.kernel.vger.linux-renesas-soc |
|---|---|
| Message-ID | <[email protected]> |
Only the unified interface exposing min_rate/max_rate is now used. Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Cristian Marussi <[email protected]> --- v3 --> v4 - Remove also unused public info.rate_discrete [Geert] v1 --> v2 - Collected Peng Reviewed-by tag --- include/linux/scmi_protocol.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/linux/scmi_protocol.h b/include/linux/scmi_protocol.h index 7283302b0c85..19834f85f5d3 100644 --- a/include/linux/scmi_protocol.h +++ b/include/linux/scmi_protocol.h @@ -44,7 +44,6 @@ struct scmi_revision_info { struct scmi_clock_info { char name[SCMI_MAX_STR_SIZE]; unsigned int enable_latency; - bool rate_discrete; bool rate_changed_notifications; bool rate_change_requested_notifications; bool state_ctrl_forbidden; @@ -53,17 +52,6 @@ struct scmi_clock_info { bool extended_config; u64 min_rate; u64 max_rate; - union { - struct { - int num_rates; - u64 rates[SCMI_MAX_NUM_RATES]; - } list; - struct { - u64 min_rate; - u64 max_rate; - u64 step_size; - } range; - }; int num_parents; u32 *parents; }; -- 2.53.0