]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fsi: core: Use const 'struct bin_attribute' callbacks
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 15 Dec 2024 14:10:53 +0000 (15:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 08:20:31 +0000 (09:20 +0100)
commit4ab0279857bb0b1c7a1ed61186527e33db693b6e
tree055f53d9c07db9dedb4d66995d3536499fab1bfa
parent600aa8d31af9bf46c62ca0375cc2abb4f1d20c8d
fsi: core: Use const 'struct bin_attribute' callbacks

The sysfs core now provides callback variants that explicitly take a
const pointer. Make use of it to match the attribute definition.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20241215-sysfs-const-bin_attr-fsi-v1-1-b717f76a0146@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fsi/fsi-core.c