cpufreq: qcom-hw: Use of_device_get_match_data for offsets and row size
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 15 Sep 2020 07:24:22 +0000 (12:54 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 16 Sep 2020 08:42:18 +0000 (14:12 +0530)
commitdcd1fd724c19fe964e6415cb161ca58ef99f86ef
tree50e19083adcb7e2d09d95dbccb4e32df47185cb5
parentf17b3e44320b4079e69135c63d1e416b0703a21e
cpufreq: qcom-hw: Use of_device_get_match_data for offsets and row size

For preparing the driver to handle further SoC revisions, let's use the
of_device_get_match_data() API for getting the device specific offsets
and row size instead of defining them globally.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/qcom-cpufreq-hw.c