diff options
| author | Thomas Weißschuh <[email protected]> | 2025-05-30 03:54:38 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-06-17 08:44:15 +0000 |
| commit | fb506e31b3d52f7faaec00352c2732ce31c1f930 (patch) | |
| tree | 68e1e32bb36b0de3653306c7dd484c9673891303 /drivers/platform/x86/intel/sdsi.c | |
| parent | sysfs: treewide: switch back to bin_attribute::read()/write() (diff) | |
| download | kernel-fb506e31b3d52f7faaec00352c2732ce31c1f930.tar.gz kernel-fb506e31b3d52f7faaec00352c2732ce31c1f930.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/20250530-sysfs-const-bin_attr-final-v3-4-724bfcf05b99@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/sdsi.c')
| -rw-r--r-- | drivers/platform/x86/intel/sdsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel/sdsi.c b/drivers/platform/x86/intel/sdsi.c index 30d1c2caf984..da75f53d0bcc 100644 --- a/drivers/platform/x86/intel/sdsi.c +++ b/drivers/platform/x86/intel/sdsi.c @@ -576,7 +576,7 @@ static struct attribute *sdsi_attrs[] = { static const struct attribute_group sdsi_group = { .attrs = sdsi_attrs, - .bin_attrs_new = sdsi_bin_attrs, + .bin_attrs = sdsi_bin_attrs, .is_bin_visible = sdsi_battr_is_visible, }; __ATTRIBUTE_GROUPS(sdsi); |
