On 13/07/2022 14:50, Dmitry Baryshkov wrote:
On 29/06/2022 16:03, Bryan O'Donoghue wrote:
At the moment the CPR genpd based code is named after the qcs404 however
msm8936, msm8939 and other antecedent processors of the qcs404 can also
make use of this data.
Rename it to reflect a more generic use.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
---
drivers/cpufreq/qcom-cpufreq-nvmem.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c
b/drivers/cpufreq/qcom-cpufreq-nvmem.c
index 6dfa86971a757..355c8b99e974a 100644
--- a/drivers/cpufreq/qcom-cpufreq-nvmem.c
+++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c
@@ -252,10 +252,10 @@ static const struct qcom_cpufreq_match_data
match_data_krait = {
.get_version = qcom_cpufreq_krait_name_version,
};
-static const char *qcs404_genpd_names[] = { "cpr", NULL };
+static const char *cpr_genpd_names[] = { "cpr", NULL };
As a generic comment, as you are touching this piece of code, code you
please move cpr_genpd_names above match_data_kryo? So that all
match_data instances can use it.
NP.
This has been dropped in V3 per Stephan's preference to not touch
anything CPR related until doing the whole thing for 8939.
---
bod