[PATCH 0/7] EDAC: Sysfs attribute constification and some cleanups

From: Thomas Weißschuh

Date: Mon Feb 23 2026 - 16:18:48 EST


Move the sysfs attribute to read-only memory and perform some trivial
cleanups.

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Thomas Weißschuh (7):
EDAC/altera: Drop unused field eccmgr_sysfs_attr
EDAC/device: Drop unused macro to_edacdev_attr()
EDAC/device: Drop unnecessary and dangerous tasks of attributes
EDAC/device: Constify info sysfs attributes
EDAC/pci_sysfs: Constify instance sysfs attributes
EDAC/device: All addition of sysfs attributes
EDAC/mpc85xx: Constify device sysfs attributes

drivers/edac/altera_edac.h | 1 -
drivers/edac/edac_device.h | 2 +-
drivers/edac/edac_device_sysfs.c | 24 ++++++++++--------------
drivers/edac/edac_pci_sysfs.c | 10 +++++-----
drivers/edac/mpc85xx_edac.c | 2 +-
5 files changed, 17 insertions(+), 22 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260223-sysfs-const-edac-5360b96a8b6b

Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>