arch_topology: Use CPUFREQ_CREATE_POLICY instead of CPUFREQ_NOTIFY
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 23 Jul 2019 06:14:06 +0000 (11:44 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Aug 2019 08:02:02 +0000 (10:02 +0200)
commit40f0fc2a416b343a604a8131247a150588658d32
treed35edfae3f4f6efbd0271c199b8fa0c3d6b1aacd
parentafe969074eb7d0f52761ed80da15e9a282d19677
arch_topology: Use CPUFREQ_CREATE_POLICY instead of CPUFREQ_NOTIFY

CPUFREQ_NOTIFY is going to get removed soon, lets use
CPUFREQ_CREATE_POLICY instead of that here. CPUFREQ_CREATE_POLICY is
called only once (which is exactly what we want here) for each cpufreq
policy when it is first created.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/arch_topology.c