On Fri, Nov 13, 2020 at 3:17 AM Hanjun Guo <guohanjun@xxxxxxxxxx> wrote: > > The ACPI_PROCESSOR_CLASS macro is defined in <acpi/processor.h>, > and ACPI drivers for processor already included <acpi/processor.h>, > so we can remove those duplicated ACPI_PROCESSOR_CLASS macros. > > Signed-off-by: Hanjun Guo <guohanjun@xxxxxxxxxx> > --- > drivers/acpi/processor_idle.c | 1 - > drivers/acpi/processor_perflib.c | 1 - > drivers/acpi/processor_thermal.c | 2 -- > drivers/acpi/processor_throttling.c | 1 - > 4 files changed, 5 deletions(-) > > diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c > index f66236c..d93e400 100644 > --- a/drivers/acpi/processor_idle.c > +++ b/drivers/acpi/processor_idle.c > @@ -31,7 +31,6 @@ > #include <asm/apic.h> > #endif > > -#define ACPI_PROCESSOR_CLASS "processor" > #define _COMPONENT ACPI_PROCESSOR_COMPONENT > ACPI_MODULE_NAME("processor_idle"); > > diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c > index b04a689..3b5a964 100644 > --- a/drivers/acpi/processor_perflib.c > +++ b/drivers/acpi/processor_perflib.c > @@ -22,7 +22,6 @@ > > #define PREFIX "ACPI: " > > -#define ACPI_PROCESSOR_CLASS "processor" > #define ACPI_PROCESSOR_FILE_PERFORMANCE "performance" > #define _COMPONENT ACPI_PROCESSOR_COMPONENT > ACPI_MODULE_NAME("processor_perflib"); > diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c > index 6c7d05b..677a132 100644 > --- a/drivers/acpi/processor_thermal.c > +++ b/drivers/acpi/processor_thermal.c > @@ -19,8 +19,6 @@ > > #define PREFIX "ACPI: " > > -#define ACPI_PROCESSOR_CLASS "processor" > - > #ifdef CONFIG_CPU_FREQ > > /* If a passive cooling situation is detected, primarily CPUfreq is used, as it > diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c > index a0bd56e..b187653 100644 > --- a/drivers/acpi/processor_throttling.c > +++ b/drivers/acpi/processor_throttling.c > @@ -22,7 +22,6 @@ > > #define PREFIX "ACPI: " > > -#define ACPI_PROCESSOR_CLASS "processor" > #define _COMPONENT ACPI_PROCESSOR_COMPONENT > ACPI_MODULE_NAME("processor_throttling"); > > -- Applied as 5.11 material along with the other janitorial patches posted by you last week. Thanks!