]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
efi/mokvar: Use const 'struct bin_attribute' callback
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 15 Dec 2024 14:15:48 +0000 (15:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 08:20:31 +0000 (09:20 +0100)
commitae7a15fb2920844e61cc71199cd1a08795716c54
tree67cf9c474d61a0d817b701a0175a6d639f7bb06a
parentf9c883f0df2765c0cb1db3c306a36787ccb2055a
efi/mokvar: Use const 'struct bin_attribute' callback

The sysfs core now provides callback variants that explicitly take a
const pointer. Use them so the non-const variants can be removed.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241215-sysfs-const-bin_attr-mokvar-v1-1-d5a3d1fff8d1@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/efi/mokvar-table.c