]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/ACPI: CPPC: Rename cppc_msr.c to cppc.c
authorHuang Rui <ray.huang@amd.com>
Mon, 14 Feb 2022 10:14:47 +0000 (18:14 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 8 Mar 2022 18:16:43 +0000 (19:16 +0100)
Rename the cppc_msr.c to cppc.c in x86 ACPI, that expects to use this file
to cover more function implementation for ACPI CPPC beside MSR helpers.
Naming as "cppc" is more straightforward as one of the functionalities
under ACPI subsystem.

Signed-off-by: Huang Rui <ray.huang@amd.com>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/acpi/Makefile
arch/x86/kernel/acpi/cppc.c [moved from arch/x86/kernel/acpi/cppc_msr.c with 96% similarity]

index cf340d85946a89d28c28f4599c2c8922b804b1f9..fc17b3f136fec09f8bb4b517a11d045359982414 100644 (file)
@@ -3,7 +3,7 @@
 obj-$(CONFIG_ACPI)             += boot.o
 obj-$(CONFIG_ACPI_SLEEP)       += sleep.o wakeup_$(BITS).o
 obj-$(CONFIG_ACPI_APEI)                += apei.o
-obj-$(CONFIG_ACPI_CPPC_LIB)    += cppc_msr.o
+obj-$(CONFIG_ACPI_CPPC_LIB)    += cppc.o
 
 ifneq ($(CONFIG_ACPI_PROCESSOR),)
 obj-y                          += cstate.o
similarity index 96%
rename from arch/x86/kernel/acpi/cppc_msr.c
rename to arch/x86/kernel/acpi/cppc.c
index b961de569e7e50ae7dd4c9d3d70cc3cdc290baf0..08d823d72586e815533bc6e027cec6e8ddd8b10c 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * cppc_msr.c:  MSR Interface for CPPC
+ * cppc.c: CPPC Interface for x86
  * Copyright (c) 2016, Intel Corporation.
  */