sysfs: treewide: switch back to attribute_group::bin_attrs

The normal bin_attrs field can now handle const pointers.
This makes the _new variant unnecessary.
Switch all users back.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20250530-sysfs-const-bin_attr-final-v3-4-724bfcf05b99@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Thomas Weißschuh
2025-06-17 10:44:15 +02:00
committed by Greg Kroah-Hartman
parent 2fbe82037a
commit fb506e31b3
71 changed files with 91 additions and 91 deletions
+1 -1
View File
@@ -597,7 +597,7 @@ static const struct bin_attribute *node_dev_bin_attrs[] = {
static const struct attribute_group node_dev_group = {
.attrs = node_dev_attrs,
.bin_attrs_new = node_dev_bin_attrs,
.bin_attrs = node_dev_bin_attrs,
};
static const struct attribute_group *node_dev_groups[] = {