diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2025-05-30 05:54:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-17 10:44:07 +0200 |
commit | 2841ef8d9630fb9735bd219f15f33cd1c70cb0d1 (patch) | |
tree | d8df098e218b908a5be701535de78c9b9179e4ec /drivers/usb/core/sysfs.c | |
parent | 2a1ea59de83bf367215e2a4dd9bf8bbd061349b3 (diff) |
const_structs.checkpatch: add bin_attribute
Now that the sysfs core can handle "const struct bin_attribute", make
sure that new usages of the struct already enter the tree as const.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20250530-sysfs-const-bin_attr-final-v3-1-724bfcf05b99@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/sysfs.c')
0 files changed, 0 insertions, 0 deletions