Re: [PATCH v4 2/4] OPP: change parameter to device pointer in dev_pm_opp_of_register_em()

2020-03-15 Thread Lukasz Luba
On 3/13/20 10:15 AM, Quentin Perret wrote: On Monday 09 Mar 2020 at 13:41:15 (+), Lukasz Luba wrote: diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index d2b5f062a07b..676b56424886 100644 --- a/drivers/cpufreq/cpufreq-dt.c +++ b/drivers/cpufreq/cpufreq-dt.c @@

[PATCH v4 2/4] OPP: change parameter to device pointer in dev_pm_opp_of_register_em()

2020-03-10 Thread Lukasz Luba
Drop the CPU specific interface with cpumask and switch to struct device. The Energy Model framework supports both: CPUs and devfreq devices. The new interface provides easy way to create a Energy Model (EM), which then might be used in i.e. thermal subsystem. Signed-off-by: Lukasz Luba ---