]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kheaders: Simplify attribute through __BIN_ATTR_SIMPLE_RO()
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 21 Dec 2024 14:09:34 +0000 (15:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Dec 2024 08:46:49 +0000 (09:46 +0100)
commit5ab5a3778dd1745bafa426e5d6f7c71bf9e14d84
treecef251881b1bf9faf896992ea5073fd05630e17f
parente62fedef0aa51134b6848951dcd007fd9338705a
kheaders: Simplify attribute through __BIN_ATTR_SIMPLE_RO()

The utility macro from the sysfs core is sufficient to implement this
attribute. Make use of it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241221-sysfs-const-bin_attr-kheaders-v2-1-8205538aa012@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/kheaders.c