Skip to content

Commit a243a1e

Browse files
lumagvireshk
authored andcommitted
cpufreq: qcom-nvmem: drop pvs_ver for format a fuses
The fuses used on msm8960 / apq8064 / ipq806x families of devices do not have the pvs version. Drop this argument from parsing function. Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Christian Marangi <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent 7f6aa81 commit a243a1e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/cpufreq/qcom-cpufreq-nvmem.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static int qcom_cpufreq_simple_get_version(struct device *cpu_dev,
7373
}
7474

7575
static void get_krait_bin_format_a(struct device *cpu_dev,
76-
int *speed, int *pvs, int *pvs_ver,
76+
int *speed, int *pvs,
7777
u8 *buf)
7878
{
7979
u32 pte_efuse;
@@ -204,8 +204,7 @@ static int qcom_cpufreq_krait_name_version(struct device *cpu_dev,
204204

205205
switch (len) {
206206
case 4:
207-
get_krait_bin_format_a(cpu_dev, &speed, &pvs, &pvs_ver,
208-
speedbin);
207+
get_krait_bin_format_a(cpu_dev, &speed, &pvs, speedbin);
209208
break;
210209
case 8:
211210
get_krait_bin_format_b(cpu_dev, &speed, &pvs, &pvs_ver,

0 commit comments

Comments
 (0)