diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-08-03 08:36:14 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-01 15:50:38 +0200 |
commit | 6bfb7c7434f75d29241413dc7e784295ba56de98 (patch) | |
tree | 113dcc567f4eee2ec2623aa8b8f3aff9351d2c5b /drivers/acpi | |
parent | 1453863fb02a18900c9079fa2e4f02710bf46507 (diff) | |
download | linux-rpi3-6bfb7c7434f75d29241413dc7e784295ba56de98.tar.gz linux-rpi3-6bfb7c7434f75d29241413dc7e784295ba56de98.tar.bz2 linux-rpi3-6bfb7c7434f75d29241413dc7e784295ba56de98.zip |
cpufreq: remove redundant CPUFREQ_INCOMPATIBLE notifier event
What's being done from CPUFREQ_INCOMPATIBLE, can also be done with
CPUFREQ_ADJUST. There is nothing special with CPUFREQ_INCOMPATIBLE
notifier.
Kill CPUFREQ_INCOMPATIBLE and fix its usage sites.
This also updates the numbering of notifier events to remove holes.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_perflib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index 36b6da2918a6..91941f1cdecb 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c @@ -87,7 +87,7 @@ static int acpi_processor_ppc_notifier(struct notifier_block *nb, if (ignore_ppc) return 0; - if (event != CPUFREQ_INCOMPATIBLE) + if (event != CPUFREQ_ADJUST) return 0; mutex_lock(&performance_mutex); |