cpufreq: qcom-hw: Use cached dev pointer in probe()
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 2 Nov 2022 09:00:37 +0000 (14:30 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 2 Nov 2022 09:03:35 +0000 (14:33 +0530)
commit7cfa8553fe8c10c7e28eb651a6e58a7ba2d5e429
treeaef6936b0656303eac0ad9ca0abce128e0a106bf
parent054a3ef683a176a509cc9b37f762029aae942495
cpufreq: qcom-hw: Use cached dev pointer in probe()

There are multiple instances of dev pointer used in the probe() function.
Instead of referencing pdev->dev all the time, let's use a cached dev
pointer to simplify the code.

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