cpufreq: dt: 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>
Thu, 12 Aug 2021 04:24:07 +0000 (09:54 +0530)
commit94ab4c3c259c7d00746e5cafb55b5f5125f34b71
treea6bf363d7e334d0906dc1d80d35566484794f849
parentc17495b01b72b53bd290f442d39b060e015c7aea
cpufreq: dt: Use .register_em() to register with energy model

Set the newly added .register_em() callback with
cpufreq_register_em_with_opp() to register with the EM core.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq-dt.c