On 24-05-23, 18:23, Robert Marko wrote: > 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_msm_id(). > > Signed-off-by: Robert Marko <robimarko@xxxxxxxxx> > --- > Changes in v2: > * Utilize helper exported by SMEM instead of refactoring > qcom_cpufreq_get_msm_id() > --- > drivers/cpufreq/qcom-cpufreq-nvmem.c | 55 +++++----------------------- > 1 file changed, 9 insertions(+), 46 deletions(-) Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx> -- viresh