[PATCH 0/4] module: sysfs: Two cleanups and preparation for const struct bin_attribute
From: Thomas Weißschuh
Date: Mon Dec 16 2024 - 14:17:12 EST
The sysfs core is switching to 'const struct bin_attribute's.
Prepare for that.
Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Thomas Weißschuh (4):
module: sysfs: Drop member 'nsections'
module: sysfs: Simplify section attribute allocation
module: sysfs: Add notes attributes through attribute_group
module: sysfs: Use const 'struct bin_attribute'
kernel/module/sysfs.c | 85 +++++++++++++++++++++++++--------------------------
1 file changed, 41 insertions(+), 44 deletions(-)
---
base-commit: 2d8308bf5b67dff50262d8a9260a50113b3628c6
change-id: 20241215-sysfs-const-bin_attr-module-be05346937a6
Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>