cpufreq: qcom-hw: Make use of cpufreq driver_data for passing pdev
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 8 Sep 2020 07:57:12 +0000 (13:27 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 16 Sep 2020 08:42:18 +0000 (14:12 +0530)
commitbd74e286b354134863ce633747fa4bfe541e440a
tree5d92cabcfafce9b1b93799fac6240734b059d101
parentc942d1542f1bc5001216fabce9cb8ffbe515777e
cpufreq: qcom-hw: Make use of cpufreq driver_data for passing pdev

Get rid of global_pdev pointer and make use of cpufreq driver_data for
passing the reference of pdev. This aligns with what other cpufreq drivers
are doing.

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