cpufreq: scmi: Use .register_em() to register with energy model
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 10 Aug 2021 06:54:36 +0000 (12:24 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 30 Aug 2021 05:13:00 +0000 (10:43 +0530)
commit37f188318ea3f1da75b32df3b1a19f45d9840652
tree0d2ba3cdbb7ab6c9b626b95382a5336681f6f0d7
parent3fd23111185d2167696547d59235bda8d307425c
cpufreq: scmi: Use .register_em() to register with energy model

Set the newly added .register_em() callback to register with the EM
after the cpufreq policy is properly initialized.

Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/scmi-cpufreq.c