diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-18 13:57:54 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-21 14:35:42 +0100 |
commit | bca5f557dcea50a32ba789c4b4a438af7f49a61f (patch) | |
tree | ea677e69429bf284dcf59cfe65cb602d0cd5bd01 /include/acpi | |
parent | 182e36af0663a1050c42d234a5bf36f084f8c28b (diff) | |
download | lwn-bca5f557dcea50a32ba789c4b4a438af7f49a61f.tar.gz lwn-bca5f557dcea50a32ba789c4b4a438af7f49a61f.zip |
ACPI / processor: Make acpi_processor_ppc_has_changed() void
The return value of acpi_processor_ppc_has_changed() is never used,
so make it void.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index dd0cb04046ce..c1ba00fc4888 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -295,7 +295,7 @@ static inline void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx #ifdef CONFIG_CPU_FREQ void acpi_processor_ppc_init(void); void acpi_processor_ppc_exit(void); -int acpi_processor_ppc_has_changed(struct acpi_processor *pr, int event_flag); +void acpi_processor_ppc_has_changed(struct acpi_processor *pr, int event_flag); extern int acpi_processor_get_bios_limit(int cpu, unsigned int *limit); #else static inline void acpi_processor_ppc_init(void) |