cpufreq: Add policy create/remove notifiers back
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 23 Jul 2019 06:14:01 +0000 (11:44 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 10 Aug 2019 12:05:48 +0000 (14:05 +0200)
commit6a1490367c44f94614e39e8b98ff7114ff8a6449
tree05174410db32276aa84cad140437860a123276b3
parente21a712a9685488f5ce80495b37b9fdbe96c230d
cpufreq: Add policy create/remove notifiers back

This effectively reverts some changes made by commit f9f41e3ef99
("cpufreq: Remove policy create/remove notifiers").

We have a new use case for policy create/remove notifiers (for
allocating/freeing QoS requests per policy), so add them back.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h