summaryrefslogtreecommitdiffstats
path: root/drivers/opp/opp.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2024-01-05 15:39:52 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2024-01-05 15:55:41 +0530
commitdcfec12b67980cba139a6c3afba57ebd4936ebe8 (patch)
tree82b27ee11e43c0d9d97e1822e187f87426609195 /drivers/opp/opp.h
parent7269c250db1b89cda72ca419b7bd5e37997309d6 (diff)
downloadlinux-stable-dcfec12b67980cba139a6c3afba57ebd4936ebe8.tar.gz
linux-stable-dcfec12b67980cba139a6c3afba57ebd4936ebe8.tar.bz2
linux-stable-dcfec12b67980cba139a6c3afba57ebd4936ebe8.zip
OPP: Rename 'rate_clk_single'
The field's name isn't clear enough. Rename it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp/opp.h')
-rw-r--r--drivers/opp/opp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/opp/opp.h b/drivers/opp/opp.h
index 558c9ac6a6fa..cff1fabd1ae3 100644
--- a/drivers/opp/opp.h
+++ b/drivers/opp/opp.h
@@ -170,7 +170,7 @@ enum opp_table_access {
* @clock_latency_ns_max: Max clock latency in nanoseconds.
* @parsed_static_opps: Count of devices for which OPPs are initialized from DT.
* @shared_opp: OPP is shared between multiple devices.
- * @rate_clk_single: Currently configured frequency for single clk.
+ * @current_rate_single_clk: Currently configured frequency for single clk.
* @current_opp: Currently configured OPP for the table.
* @suspend_opp: Pointer to OPP to be used during device suspend.
* @required_opp_tables: List of device OPP tables that are required by OPPs in
@@ -219,7 +219,7 @@ struct opp_table {
unsigned int parsed_static_opps;
enum opp_table_access shared_opp;
- unsigned long rate_clk_single;
+ unsigned long current_rate_single_clk;
struct dev_pm_opp *current_opp;
struct dev_pm_opp *suspend_opp;