]> www.infradead.org Git - users/dwmw2/linux.git/commit
driver core: Constify attribute arguments of binary attributes
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 3 Nov 2024 17:03:39 +0000 (17:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Nov 2024 13:00:28 +0000 (14:00 +0100)
commit562e932a077cb35173d8dc11e5005f9c5acd22f0
treeb56484e8d2d0d75726021d55e88d69228eb1afe3
parenteb2e6c3a8d66ff37b2ee26cd32334ae0e05fd596
driver core: Constify attribute arguments of binary attributes

As preparation for the constification of struct bin_attribute,
constify the arguments of the read and write callbacks.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Krzysztof Wilczyński <kw@linux.com>
Link: https://lore.kernel.org/r/20241103-sysfs-const-bin_attr-v2-10-71110628844c@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/node.c
drivers/base/topology.c