summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2022-02-14 11:14:47 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-03-08 19:16:43 +0100
commitfd8af343a299df264c41b1219358f502c7b5b18a (patch)
treefb2c8dc2f387e8ebc66c92ee27b2698a11b090ae /arch
parentACPI / x86: Add skip i2c clients quirk for Lenovo Yoga Tablet 1050F/L (diff)
downloadlinux-fd8af343a299df264c41b1219358f502c7b5b18a.tar.xz
linux-fd8af343a299df264c41b1219358f502c7b5b18a.zip
x86/ACPI: CPPC: Rename cppc_msr.c to cppc.c
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/acpi/Makefile2
-rw-r--r--arch/x86/kernel/acpi/cppc.c (renamed from arch/x86/kernel/acpi/cppc_msr.c)2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/acpi/Makefile b/arch/x86/kernel/acpi/Makefile
index cf340d85946a..fc17b3f136fe 100644
--- a/arch/x86/kernel/acpi/Makefile
+++ b/arch/x86/kernel/acpi/Makefile
@@ -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
diff --git a/arch/x86/kernel/acpi/cppc_msr.c b/arch/x86/kernel/acpi/cppc.c
index b961de569e7e..08d823d72586 100644
--- a/arch/x86/kernel/acpi/cppc_msr.c
+++ b/arch/x86/kernel/acpi/cppc.c
@@ -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.
*/