diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2024-11-21 17:48:47 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-07 16:59:15 +0100 |
| commit | 0f9e1f3a6e1e873bc70c7a47870a18c05647360e (patch) | |
| tree | 585cc52d264d9e06e15f2aa1fa8822044156e2b5 /tools/docs/lib/parse_data_structs.py | |
| parent | e1a51c2bf4b3b20868a0e6e9520b11639bd363f1 (diff) | |
kernel/ksysfs.c: simplify bin_attribute definition
The notes attribute can be implemented in terms of BIN_ATTR_SIMPLE().
This saves memory at runtime and is a preparation for the constification
of struct bin_attribute.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241121-sysfs-const-bin_attr-ksysfs-v1-1-972faced149d@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
