diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-05-25 12:19:58 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-30 11:16:59 +0200 |
commit | cc85de361d99490df182e63d13f409054a579a13 (patch) | |
tree | e25832af936e4dc7e4a0c13da67f44f6f540eff2 /drivers/hwmon | |
parent | kernel/SRCU: provide a static initializer (diff) | |
download | linux-cc85de361d99490df182e63d13f409054a579a13.tar.xz linux-cc85de361d99490df182e63d13f409054a579a13.zip |
cpufreq: Use static SRCU initializer
Use the static SRCU initializer for `cpufreq_transition_notifier_list'.
This avoids the init_cpufreq_transition_notifier_list() initcall. Its
only purpose is to initialize the SRCU notifier once during boot and set
another variable which is used as an indicator whether the init was
perfromed before cpufreq_register_notifier() was used.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions