diff options
author | Robert Marko <robimarko@gmail.com> | 2023-05-26 22:48:02 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-05-26 18:18:57 -0700 |
commit | 7d0f03d104e576da2a7689d0eb8560c67efc03ff (patch) | |
tree | 94bef0047980e257347da72cf6d3a4854f7388f0 /tools/perf/scripts/python | |
parent | 865d7e719262e9845a3c847040fbd4d84c8b5bd9 (diff) |
cpufreq: qcom-nvmem: use helper to get SMEM SoC ID
Now that SMEM exports a helper to get the SMEM SoC ID lets utilize it.
Currently qcom_cpufreq_get_msm_id() is encoding the returned SMEM SoC ID
into an enum, however there is no reason to do so and we can just match
directly on the SMEM SoC ID as returned by qcom_smem_get_soc_id().
Signed-off-by: Robert Marko <robimarko@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230526204802.3081168-5-robimarko@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions