Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 052f573f authored by Viresh Kumar's avatar Viresh Kumar Committed by Rafael J. Wysocki
Browse files

cpufreq: Remove CPUFREQ_START notifier event



Its not used anymore, remove it.

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent fa29ae5f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1246,9 +1246,6 @@ static int cpufreq_online(unsigned int cpu)
		write_unlock_irqrestore(&cpufreq_driver_lock, flags);
	}

	blocking_notifier_call_chain(&cpufreq_policy_notifier_list,
				     CPUFREQ_START, policy);

	ret = cpufreq_init_policy(policy);
	if (ret) {
		pr_err("%s: Failed to initialize policy for cpu: %d (%d)\n",
+0 −3
Original line number Diff line number Diff line
@@ -100,9 +100,6 @@ static int pmi_notifier(struct notifier_block *nb,
	/* Should this really be called for CPUFREQ_ADJUST and CPUFREQ_NOTIFY
	 * policy events?)
	 */
	if (event == CPUFREQ_START)
		return 0;

	node = cbe_cpu_to_node(policy->cpu);

	pr_debug("got notified, event=%lu, node=%u\n", event, node);
+0 −1
Original line number Diff line number Diff line
@@ -415,7 +415,6 @@ static inline void cpufreq_resume(void) {}
/* Policy Notifiers  */
#define CPUFREQ_ADJUST			(0)
#define CPUFREQ_NOTIFY			(1)
#define CPUFREQ_START			(2)

#ifdef CONFIG_CPU_FREQ
int cpufreq_register_notifier(struct notifier_block *nb, unsigned int list);