]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: dmi: Define bin_attributes through macro
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 25 Jan 2025 10:12:15 +0000 (11:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 08:20:30 +0000 (09:20 +0100)
commit80d3989b9ce3b05f7a12cc5c4c8c565fc4ed88f2
tree2ef403aefd26b7cd408ac949f4e78e576160a8fb
parent14e694dbf285e74af97d50212e3272d0d22ea653
firmware: dmi: Define bin_attributes through macro

The macro makes the code shorter and simplifies constification of the
callback arguments.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20250125-sysfs-const-bin_attr-dmi-v2-2-ece1895936f4@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/dmi-sysfs.c