[PATCH 0/4] platform/x86: Constify static attribute_group structs

From: Rikard Falkeborn
Date: Sat Jun 05 2021 - 16:38:19 EST


Constify a couple of static attribute_group structs which are never
modified to allow the compiler to put them in read-only memory.

Rikard Falkeborn (4):
platform/x86: hdaps: Constify static attribute_group struct
platform/x86: intel_pmt_crashlog: Constify static attribute_group
struct
platform/x86: tc1100-wmi: Constify static attribute_group struct
x86/platform/uv: Constify static attribute_group struct

drivers/platform/x86/hdaps.c | 2 +-
drivers/platform/x86/intel_pmt_crashlog.c | 2 +-
drivers/platform/x86/tc1100-wmi.c | 2 +-
drivers/platform/x86/uv_sysfs.c | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)

--
2.31.1