diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-11-21 19:48:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-07 18:59:15 +0300 |
commit | 0f9e1f3a6e1e873bc70c7a47870a18c05647360e (patch) | |
tree | 585cc52d264d9e06e15f2aa1fa8822044156e2b5 /scripts/lib/kdoc/kdoc_files.py | |
parent | e1a51c2bf4b3b20868a0e6e9520b11639bd363f1 (diff) | |
download | linux-0f9e1f3a6e1e873bc70c7a47870a18c05647360e.tar.xz |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions