cpufreq: CPPC: Pass structure instance by reference
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 18 Jun 2021 08:12:23 +0000 (13:42 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 1 Jul 2021 02:02:09 +0000 (07:32 +0530)
commiteead1840cbd31e553bf8ccdefbd5b065bf596b71
tree87c7df62f5fb158b5c33087a5e42deca2f77d106
parentfe2535a44904a77615a3af8e8fd7dafb98fb0e1b
cpufreq: CPPC: Pass structure instance by reference

Don't pass structure instance by value, pass it by reference instead.

Tested-by: Vincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: Ionela Voinescu <ionela.voinescu@arm.com>
Tested-by: Qian Cai <quic_qiancai@quicinc.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cppc_cpufreq.c