Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpufreq: Remove CPUFREQ_START notifier event

Its not used anymore, remove it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Viresh Kumar and committed by
Rafael J. Wysocki
052f573f fa29ae5f

-7
-3
drivers/cpufreq/cpufreq.c
··· 1246 1246 write_unlock_irqrestore(&cpufreq_driver_lock, flags); 1247 1247 } 1248 1248 1249 - blocking_notifier_call_chain(&cpufreq_policy_notifier_list, 1250 - CPUFREQ_START, policy); 1251 - 1252 1249 ret = cpufreq_init_policy(policy); 1253 1250 if (ret) { 1254 1251 pr_err("%s: Failed to initialize policy for cpu: %d (%d)\n",
-3
drivers/cpufreq/ppc_cbe_cpufreq_pmi.c
··· 100 100 /* Should this really be called for CPUFREQ_ADJUST and CPUFREQ_NOTIFY 101 101 * policy events?) 102 102 */ 103 - if (event == CPUFREQ_START) 104 - return 0; 105 - 106 103 node = cbe_cpu_to_node(policy->cpu); 107 104 108 105 pr_debug("got notified, event=%lu, node=%u\n", event, node);
-1
include/linux/cpufreq.h
··· 415 415 /* Policy Notifiers */ 416 416 #define CPUFREQ_ADJUST (0) 417 417 #define CPUFREQ_NOTIFY (1) 418 - #define CPUFREQ_START (2) 419 418 420 419 #ifdef CONFIG_CPU_FREQ 421 420 int cpufreq_register_notifier(struct notifier_block *nb, unsigned int list);